Jump to content

Talk:Comments: Difference between revisions

→‎[[C]]: #if 0 and syntax errors: BTW, thanks for the ref
(→‎[[C]]: #if 0 and syntax errors: BTW, thanks for the ref)
Line 38:
 
::Egads! The reason I disbelieved you is that I have never used a C compiler which actually obeyed this part of the standard. The snippet compiles fine in gcc 3.4 and 4.0.1. I even tried with '''-std=c99 -pedantic-errors''' options for all supported standards. I also tried with just the preprocessor '''cpp''' in isolation.
::I beilievebelieve this section should be prefaced with "'''Standard:''' ANSI, (obsolete)but not GCC" or a list of compilers which exhibit this behavior. Which C/C++ compiler are you using which fails on the above snippet? --[[User:IanOsgood|IanOsgood]] 09:57, 30 September 2007 (MDT)
::BTW, thanks for the detailed references, Ce! Perhaps Rosetta Code should be more like Wikipedia and encourage references on the pages themselves. It might avoid this kind of argument in the future. --[[User:IanOsgood|IanOsgood]] 10:58, 30 September 2007 (MDT)
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.