On 22 Jun 2015, at 21:57, Bitbucket <[email protected]> wrote:

> 3 new commits in Cactus:
> 
> https://bitbucket.org/cactuscode/cactus/commits/00083af1c7a8/
> Changeset:   00083af1c7a8
> Branch:      None
> User:        eschnett
> Date:        2015-06-16 21:41:10+00:00
> Summary:     Cactus: Remove support for HAVE_CCTK_C_BOOL and 
> HAVE_CCTK_CXX_BOOL
> 
> We expect C99, which always has bool. Similarly, C++ always has bool. No code 
> uses these options.

In this case, the flesh should make sure it adds the C99 options to the 
compiler flags. Does it always do this?  It should also check either for 
whether C99 is supported.  A quick internet search reveals this: 
http://stackoverflow.com/questions/19674401/is-there-a-preprocessor-macro-to-detect-c99-across-platforms.
  i.e. we can check using

#if __STDC_VERSION__ >= 199901L
/*C99*/
#else
/*Not C99*/
#endif

-- 
Ian Hinder
http://members.aei.mpg.de/ianhin

_______________________________________________
Users mailing list
[email protected]
http://cactuscode.org/mailman/listinfo/users

Reply via email to