commit | afbab998b5ae2f37c4d7999260a102d92ea6cda1 | [log] [tgz] |
---|---|---|
author | Loo Rong Jie <loorongjie@gmail.com> | Mon Feb 12 03:02:31 2018 -0800 |
committer | Copybara-Service <copybara-piper@google.com> | Mon Feb 12 03:04:20 2018 -0800 |
tree | 47e508d1f4558440592279b435a85a3ae06aefe4 | |
parent | 4e9c9f93b15dd2594097644c6b9ca5a579c712fb [diff] |
[MSVC] Don't declare environ when it is already defined as macro In MSVC, `environ` is a macro (from `stdlib.h`): ```cpp extern char*** __p__environ(void); #define _environ (*__p__environ()) #define environ _environ ``` So `extern char **environ;` will be expanded as `extern char **(*__p_environ());` which is invalid. This causes compile warning on MSVC. Closes #4487. PiperOrigin-RevId: 185354631
{Fast, Correct} - Choose two
Build and test software of any size, quickly and reliably.
Speed up your builds and tests: Bazel only rebuilds what is necessary. With advanced local and distributed caching, optimized dependency analysis and parallel execution, you get fast and incremental builds.
One tool, multiple languages: Build and test Java, C++, Android, iOS, Go, and a wide variety of other language platforms. Bazel runs on Windows, macOS, and Linux.
Scalable: Bazel helps you scale your organization, codebase, and continuous integration solution. It handles codebases of any size, in multiple repositories or a huge monorepo.
Extensible to your needs: Easily add support for new languages and platforms with Bazel's familiar extension language. Share and re-use language rules written by the growing Bazel community.
Follow our tutorials:
See CONTRIBUTING.md
Bazel is released in ‘Beta’. See the product roadmap to learn about the path toward a stable 1.0 release.