http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45381
--- Comment #7 from Dominique d'Humieres <dominiq at lps dot ens.fr> 2010-10-01 23:33:03 UTC --- (In reply to comment #6) > I'd prefer it if you provided some amount of detail about *what* > fails with the patch attached to this PR, rather than just reporting > the bare fact of not working. gcc -I../../gcc-4.6-work/libcpp -I. -I../../gcc-4.6-work/libcpp/../include -I../../gcc-4.6-work/libcpp/include -g -fkeep-inline-functions -W -Wall -Wwrite-strings -Wmissing-format-attribute -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -pedantic -Wno-long-long -I../../gcc-4.6-work/libcpp -I. -I../../gcc-4.6-work/libcpp/../include -I../../gcc-4.6-work/libcpp/include -c -o lex.o -MT lex.o -MMD -MP -MF .deps/lex.Tpo ../../gcc-4.6-work/libcpp/lex.c ../../gcc-4.6-work/libcpp/lex.c:789: error: conflicting types for 'warn_in_comment' ../../gcc-4.6-work/libcpp/lex.c:62: error: previous declaration of 'warn_in_comment' was here ../../gcc-4.6-work/libcpp/lex.c: In function 'warn_in_comment': ../../gcc-4.6-work/libcpp/lex.c:796: error: incompatible types in return ../../gcc-4.6-work/libcpp/lex.c:801: error: incompatible types in return ../../gcc-4.6-work/libcpp/lex.c:810: error: incompatible types in return ../../gcc-4.6-work/libcpp/lex.c:811: warning: control reaches end of non-void function ../../gcc-4.6-work/libcpp/lex.c: In function '_cpp_process_line_notes': ../../gcc-4.6-work/libcpp/lex.c:851: error: invalid operands to binary || ../../gcc-4.6-work/libcpp/lex.c: At top level: ../../gcc-4.6-work/libcpp/lex.c:883: error: conflicting types for '_cpp_skip_block_comment' ../../gcc-4.6-work/libcpp/internal.h:596: error: previous declaration of '_cpp_skip_block_comment' was here ../../gcc-4.6-work/libcpp/lex.c: In function '_cpp_skip_block_comment': ../../gcc-4.6-work/libcpp/lex.c:922: error: incompatible types in return ../../gcc-4.6-work/libcpp/lex.c:934: error: incompatible types in return ../../gcc-4.6-work/libcpp/lex.c:935: warning: control reaches end of non-void function ../../gcc-4.6-work/libcpp/lex.c: In function 'skip_whitespace': ../../gcc-4.6-work/libcpp/lex.c:958: error: incompatible types in initialization ../../gcc-4.6-work/libcpp/lex.c:967: error: incompatible types in assignment ../../gcc-4.6-work/libcpp/lex.c:979: error: invalid operands to binary != ../../gcc-4.6-work/libcpp/lex.c: In function 'forms_identifier_p': ../../gcc-4.6-work/libcpp/lex.c:1035: error: incompatible types in return ../../gcc-4.6-work/libcpp/lex.c:1044: error: incompatible types in return ../../gcc-4.6-work/libcpp/lex.c:1055: error: incompatible types in return ../../gcc-4.6-work/libcpp/lex.c:1059: error: incompatible types in return ../../gcc-4.6-work/libcpp/lex.c:1060: warning: control reaches end of non-void function ../../gcc-4.6-work/libcpp/lex.c: In function 'lex_identifier': ../../gcc-4.6-work/libcpp/lex.c:1130: error: wrong type argument to unary exclamation mark ../../gcc-4.6-work/libcpp/lex.c:1137: error: invalid operands to binary != ../../gcc-4.6-work/libcpp/lex.c:1146: error: invalid operands to binary != ../../gcc-4.6-work/libcpp/lex.c: In function 'lex_number': ../../gcc-4.6-work/libcpp/lex.c:1209: error: invalid operands to binary != ../../gcc-4.6-work/libcpp/lex.c: In function 'lex_string': ../../gcc-4.6-work/libcpp/lex.c:1523: error: incompatible types in initialization ../../gcc-4.6-work/libcpp/lex.c:1579: error: incompatible types in assignment ../../gcc-4.6-work/libcpp/lex.c:1582: error: invalid operands to binary != ../../gcc-4.6-work/libcpp/lex.c: At top level: ../../gcc-4.6-work/libcpp/lex.c:1863: error: conflicting types for '_cpp_get_fresh_line' ../../gcc-4.6-work/libcpp/internal.h:595: error: previous declaration of '_cpp_get_fresh_line' was here ../../gcc-4.6-work/libcpp/lex.c: In function '_cpp_get_fresh_line': ../../gcc-4.6-work/libcpp/lex.c:1868: error: incompatible types in return ../../gcc-4.6-work/libcpp/lex.c:1875: error: incompatible types in return ../../gcc-4.6-work/libcpp/lex.c:1880: error: incompatible types in return ../../gcc-4.6-work/libcpp/lex.c:1885: error: incompatible types in return ../../gcc-4.6-work/libcpp/lex.c:1899: error: incompatible types in return ../../gcc-4.6-work/libcpp/lex.c: In function '_cpp_lex_direct': ../../gcc-4.6-work/libcpp/lex.c:1944: error: wrong type argument to unary exclamation mark ../../gcc-4.6-work/libcpp/lex.c:2044: error: incompatible type for argument 3 of 'lex_identifier' ../../gcc-4.6-work/libcpp/lex.c:2068: error: invalid operands to binary != ../../gcc-4.6-work/libcpp/lex.c:2270: error: invalid operands to binary != ../../gcc-4.6-work/libcpp/lex.c:2273: error: incompatible type for argument 3 of 'lex_identifier' ../../gcc-4.6-work/libcpp/lex.c: At top level: ../../gcc-4.6-work/libcpp/lex.c:2356: error: conflicting types for 'cpp_spell_token' ../../gcc-4.6-work/libcpp/include/cpplib.h:723: error: previous declaration of 'cpp_spell_token' was here ../../gcc-4.6-work/libcpp/lex.c: In function 'cpp_spell_token': ../../gcc-4.6-work/libcpp/lex.c:2378: error: invalid operands to binary != ../../gcc-4.6-work/libcpp/lex.c: In function 'cpp_token_as_text': ../../gcc-4.6-work/libcpp/lex.c:2422: error: incompatible type for argument 4 of 'cpp_spell_token' ../../gcc-4.6-work/libcpp/lex.c: In function 'cpp_output_line_to_string': ../../gcc-4.6-work/libcpp/lex.c:2634: error: incompatible type for argument 4 of 'cpp_spell_token'