All,

When compiling with these extra flags, we get a raft of errors which are mostly:

1. Use of "long long" which is an "extension"
2. Use of // style comments
3. Use of mixed declarations and code

When setting -std=C99 all of these go away. This flag works with both gcc and clang, but I don't know how many other systems and compilers we expect to support.

Are we requiring the use of a C99-compliant compiler? If so, we probably want to add one or more CFLAGS to make that explicit.

-chris

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to