diff options
author | Kenneth Graunke <[email protected]> | 2012-07-28 13:04:53 -0700 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2012-07-28 13:33:50 -0700 |
commit | dcf8754cce1af09547a5976a74ba807bc6f2657c (patch) | |
tree | 7b2249030a497da8b7e9b6a7efa92424337d102e /include/KHR | |
parent | 5d5af7d359e0060fa00b90a8f04900b96f9058b0 (diff) |
glcpp: Add a newline to expanded #line directives.
Otherwise, the preprocessor happily outputs
#line 2 4 <your next line of code>
and the main compiler gets horribly confused and fails to compile.
This is not the right solution (line numbers in error messages will
likely be off-by-one in certain circumstances), but until Carl comes
up with a proper fix, this gets programs running again.
Fixes regressions in Regnum Online, Overgrowth, Piglit, and others since
commit aac78ce8234d96932c38b3f48b1d828077bc0027.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=51802
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=51506
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=41152
Signed-off-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'include/KHR')
0 files changed, 0 insertions, 0 deletions