Changeset 84123 in webkit
- Timestamp:
- Apr 17, 2011 11:53:23 PM (13 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r84120 r84123 1 2011-04-17 Thierry Reding <thierry.reding@avionic-design.de> 2 3 Reviewed by Adam Barth. 4 5 Fix build with GCC 4.6. 6 7 * dom/make_names.pl: Execute preprocessor without the -P option. The 8 preprocessor in GCC 4.6 eats empty lines, effectively breaking the 9 parsing performed by this script. Dropping the -P option when invoking 10 the preprocessor keeps the empty lines but as a side-effect also adds 11 additional linemarkers. 12 13 From the cpp manpage: 14 15 -P Inhibit generation of linemarkers in the output from the 16 preprocessor. This might be useful when running the preprocessor 17 on something that is not C code, and will be sent to a program 18 which might be confused by the linemarkers. 19 20 The linemarkers are not problematic, however, because the script 21 properly handles them by ignoring all lines starting with a #. 22 1 23 2011-04-17 David Kilzer <ddkilzer@apple.com> 2 24 -
trunk/Source/WebCore/dom/make_names.pl
r73989 r84123 66 66 $gccLocation = "/usr/bin/gcc"; 67 67 } 68 my $preprocessor = $gccLocation . " -E - P -x c++";68 my $preprocessor = $gccLocation . " -E -x c++"; 69 69 70 70 GetOptions(
Note: See TracChangeset
for help on using the changeset viewer.