#1128: Require C99 for Cactus C thorns -------------------------+-------------------------------------------------- Reporter: hinder | Owner: Type: enhancement | Status: new Priority: major | Milestone: Component: Cactus | Version: Keywords: | -------------------------+-------------------------------------------------- According to Erik, all systems that we need to support have good support for C99. Many thorns use some features of C99, and it is a common error to try to compile these without using the C99 options to a compiler. The resulting error messages can be confusing.
In order to provide a common language platform for Cactus thorn writers, we should state that Cactus expects the compiler to have C99 enabled. We should test this during the configure stage and abort with a good error message if it is not the case. Thorn writers can then assume the standard features of C99 will always be available.
The automatically-configured compiler options in known_architectures should be modified to enable C99 mode if it is not enabled by default for all the recognised compilers.