<feed xmlns='http://www.w3.org/2005/Atom'>
<title>cmake.git/Tests/Module/WriteCompilerDetectionHeader/main_multi.c, branch master</title>
<subtitle>cmake</subtitle>
<id>http://dangofactory.net/cgit/cgit.cgi/Server/cmake.git/atom/Tests/Module/WriteCompilerDetectionHeader/main_multi.c?h=master</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/cmake.git/atom/Tests/Module/WriteCompilerDetectionHeader/main_multi.c?h=master'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/cmake.git/'/>
<updated>2023-10-26T13:20:45Z</updated>
<entry>
<title>Tests: Fix clang -Wstrict-prototypes warnings</title>
<updated>2023-10-26T13:20:45Z</updated>
<author>
<name>Brad King</name>
<email>brad.king@kitware.com</email>
</author>
<published>2023-10-25T14:39:15Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/cmake.git/commit/?id=264dcae5e42b51724983296457c569a3110687a5'/>
<id>urn:sha1:264dcae5e42b51724983296457c569a3110687a5</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Revise C++ coding style using clang-format-6.0</title>
<updated>2018-06-01T13:53:42Z</updated>
<author>
<name>Kitware Robot</name>
<email>kwrobot@kitware.com</email>
</author>
<published>2018-06-01T13:53:41Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/cmake.git/commit/?id=d7204e649ed4ebb19bb341b4e49eb51514364922'/>
<id>urn:sha1:d7204e649ed4ebb19bb341b4e49eb51514364922</id>
<content type='text'>
Run the `clang-format.bash` script to update all our C and C++ code to a
new style defined by `.clang-format`.  Use `clang-format` version 6.0.

* If you reached this commit for a line in `git blame`, re-run the blame
  operation starting at the parent of this commit to see older history
  for the content.

* See the parent commit for instructions to rebase a change across this
  style transition commit.
</content>
</entry>
<entry>
<title>Revise C++ coding style using clang-format</title>
<updated>2016-05-16T20:05:19Z</updated>
<author>
<name>Kitware Robot</name>
<email>kwrobot@kitware.com</email>
</author>
<published>2016-05-16T14:34:04Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/cmake.git/commit/?id=d9fd2f5402eeaa345691313658e02b51038f570b'/>
<id>urn:sha1:d9fd2f5402eeaa345691313658e02b51038f570b</id>
<content type='text'>
Run the `Utilities/Scripts/clang-format.bash` script to update
all our C++ code to a new style defined by `.clang-format`.
Use `clang-format` version 3.8.

* If you reached this commit for a line in `git blame`, re-run the blame
  operation starting at the parent of this commit to see older history
  for the content.

* See the parent commit for instructions to rebase a change across this
  style transition commit.
</content>
</entry>
<entry>
<title>Features: Fix C90 feature detection.</title>
<updated>2015-02-04T23:38:21Z</updated>
<author>
<name>Stephen Kelly</name>
<email>steveire@gmail.com</email>
</author>
<published>2015-02-03T20:47:45Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/cmake.git/commit/?id=fb3487a9975ed321b48fad5c71dd655d66b68087'/>
<id>urn:sha1:fb3487a9975ed321b48fad5c71dd655d66b68087</id>
<content type='text'>
This bug caused c_function_prototypes to not be recorded at configure
time when compiling with -std=gnu99 or similar. In the case of feature
recording, that was not a problem, because the logic in
CMakeDetermineCompileFeatures.cmake currently assumes that a feature
present for an earlier standard is present for a later standard.

However, the detection strings are also used in WriteCompilerDetectionHeader,
so the feature macro has been defined to '0' when using a later language
dialect.

Fix that by not checking the existence of the __STDC_VERSION__ macro at
all when detecting C90 features.
</content>
</entry>
</feed>
