Stephen Kelly
fb3487a997
Features: Fix C90 feature detection.
...
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.
2015-02-04 18:38:21 -05:00
..
2014-06-05 14:02:52 +02:00
2015-02-04 18:38:21 -05:00
2015-02-04 18:29:53 -05:00
2015-01-11 16:52:27 +01:00
2015-02-04 18:29:53 -05:00
2014-06-05 14:02:52 +02:00
2014-06-05 14:02:52 +02:00
2015-02-04 18:38:21 -05:00
2015-01-15 22:13:21 +01:00
2014-11-11 23:01:07 +01:00
2014-11-11 23:01:07 +01:00
2015-02-04 18:29:53 -05:00
2014-05-07 14:00:00 +02:00
2014-06-05 14:02:52 +02:00
2014-11-19 16:24:54 -05:00
2014-06-05 14:02:52 +02:00
2014-06-05 14:02:52 +02:00
2014-06-05 14:02:52 +02:00
2014-06-05 14:02:52 +02:00
2014-06-05 14:02:52 +02:00
2014-08-11 10:31:06 -04:00
2015-02-04 18:38:21 -05:00
2015-02-04 18:29:53 -05:00
2015-01-18 15:01:15 +01:00
2015-02-04 18:29:53 -05:00
2014-06-05 14:02:52 +02:00
2014-11-10 10:24:53 -05:00
2013-11-19 12:39:39 -05:00
2014-06-05 14:02:52 +02:00
2014-06-05 14:02:52 +02:00
2014-04-25 17:59:57 +02:00
2014-11-10 10:24:53 -05:00
2014-05-07 14:00:00 +02:00
2014-06-05 14:02:52 +02:00
2014-06-05 14:02:52 +02:00
2014-02-07 11:50:08 +01:00
2014-02-07 11:50:08 +01:00
2014-06-05 14:02:52 +02:00
2014-11-10 10:24:53 -05:00
2014-06-05 14:02:52 +02:00
2015-01-30 09:57:33 -05:00
2015-02-04 18:29:53 -05:00
2014-06-05 14:02:52 +02:00
2014-06-05 14:02:52 +02:00
2014-06-05 14:02:52 +02:00
2010-08-09 08:48:31 -04:00
2014-06-05 14:02:52 +02:00
2014-11-10 10:24:53 -05:00
2014-07-17 09:36:18 -04:00
2014-07-17 09:36:18 -04:00
2014-07-17 09:36:18 -04:00
2014-05-07 14:00:00 +02:00
2014-06-05 14:02:52 +02:00
2014-06-05 14:02:52 +02:00
2014-06-05 14:02:52 +02:00
2015-01-17 14:48:28 +01:00
2015-02-04 18:29:53 -05:00
2014-12-23 10:15:27 -05:00
2014-06-05 14:02:52 +02:00
2014-05-07 14:28:36 +02:00
2014-05-07 14:28:36 +02:00
2014-05-07 14:00:00 +02:00
2014-06-05 14:02:52 +02:00
2014-05-07 14:28:36 +02:00
2014-05-07 14:00:00 +02:00
2014-11-10 10:24:53 -05:00
2014-05-07 14:28:36 +02:00
2014-05-07 14:00:00 +02:00