https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89410

--- Comment #7 from Jonny Grant <jg at jguk dot org> ---
(In reply to Jonny Grant from comment #6)
> Could this show the offending number in the "line number out of range"
> message? And even the origin of the LINE1 macro too?

clang shows the origin of the offending LINE1 macro

#1 with x86-64 clang (trunk)
<source>:4:7: error: #line directive requires a positive integer argument
#line LINE1
      ^
<source>:1:15: note: expanded from macro 'LINE1'
#define LINE1 112147483647
              ^
1 error generated.
Compiler returned: 1

Reply via email to