Compiler warnings when compiling tcnative with -Wall -pedantic -ansi

2022-05-05 Thread Christopher Schultz
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

Re: Compiler warnings when compiling tcnative with -Wall -pedantic -ansi

2022-06-14 Thread Christopher Schultz
All, On 5/5/22 08:27, Christopher Schultz wrote: 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.