From: William S F. <ws...@fu...> - 2007-09-24 21:53:24
|
Kjell Wooding wrote: >> On 2007-09-22, William S Fulton <ws...@fu...> wrote: >>> It looks like the user is just going to have to use a C99 compliant >>> compiler in order to get these macros and we are going to have to modify >>> the test-suite to have C99 tests. Which is kind of frustrating :( >> This is just for LLONG_MAX (rather than other C99 features) isn't it? >> >> It seems GCC always defines __LONG_LONG_MAX__ (I checked 3.4 and 4.1). > > Again, I think this is easily solved in the top level configure > script. (and if I get a few minutes, I'll back that up with some > actual code. ;) That will avoid the C99 issue for a bit longer, > anyway. > I would like the test-suite and the generated code to use default compiler flags, plus lots of warnings turned on. We could have a C99 set of tests as I mentioned, but it requires more complication for the test-suite and this solution for gcc works fine for both the test-suite and for users. We can add in additional workarounds for other compilers if anyone can't figure out the compiler flags to turn on C99 support. William |