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-05-15 00:15:18 +02:00
2014-05-15 00:15:18 +02:00
2014-05-15 00:15:18 +02:00
2014-05-15 00:15:18 +02:00
2015-02-04 18:38:21 -05:00
2014-05-22 18:01:23 +02:00
2014-04-08 11:05:56 +02:00
2014-04-08 11:05:56 +02:00
2014-04-08 11:05:56 +02:00
2014-05-22 18:01:23 +02:00
2014-04-08 11:05:56 +02:00
2015-01-17 14:48:27 +01:00
2014-05-22 18:01:23 +02:00
2014-04-08 11:05:54 +02:00
2014-05-22 18:01:23 +02:00
2014-05-22 18:01:23 +02:00
2014-04-08 11:05:57 +02:00
2014-04-08 11:05:54 +02:00
2014-04-08 11:05:57 +02:00
2014-04-08 11:05:54 +02:00
2014-04-08 11:05:58 +02:00
2014-04-08 11:05:54 +02:00
2014-04-08 11:05:55 +02:00
2014-05-22 18:01:23 +02:00
2014-04-08 11:05:57 +02:00
2014-04-08 11:05:55 +02:00
2014-04-08 11:05:57 +02:00
2014-04-08 11:05:56 +02:00
2014-04-08 11:05:54 +02:00
2014-04-08 11:05:57 +02:00
2015-01-15 22:13:22 +01:00
2014-05-22 18:01:23 +02:00
2015-01-17 14:48:27 +01:00
2014-04-08 11:05:57 +02:00
2014-05-22 18:01:23 +02:00
2014-04-08 11:05:55 +02:00
2014-04-08 11:05:57 +02:00
2014-04-08 11:05:58 +02:00
2014-04-08 11:05:55 +02:00
2014-04-08 11:05:55 +02:00
2014-04-08 11:05:55 +02:00
2014-04-08 11:05:54 +02:00
2014-04-08 11:05:55 +02:00
2014-04-08 11:05:55 +02:00
2014-04-08 11:05:55 +02:00
2014-05-22 18:01:23 +02:00
2014-05-22 18:01:23 +02:00
2014-04-08 11:05:57 +02:00
2014-04-08 11:05:55 +02:00
2014-04-08 11:05:57 +02:00
2014-04-08 11:05:54 +02:00
2014-04-08 11:05:54 +02:00
2014-04-16 15:16:23 +02:00
2014-04-08 11:05:57 +02:00
2014-04-08 11:05:54 +02:00
2014-04-08 11:05:56 +02:00
2014-04-08 11:05:56 +02:00
2014-04-08 11:05:56 +02:00
2014-04-08 11:05:56 +02:00
2014-05-22 18:01:23 +02:00
2014-04-08 11:05:57 +02:00
2015-01-17 14:48:27 +01:00
2014-11-20 18:24:59 +01:00
2015-01-15 22:13:22 +01:00
2015-01-21 15:40:47 -05:00
2014-05-09 14:39:30 +02:00
2015-02-04 18:38:21 -05:00
2015-01-26 14:41:33 -05:00
2014-04-07 18:11:18 +02:00