#line directives from PMC file should now work

2004-11-11 Thread Nicholas Clark
I believe that I've now fixed all the bugs and made pmc2c2.pl emit accurate #line directives in the C source files it generates. This means that C errors in PMC files under development will be reported by the C compiler as being at the correct line in the source PMC file, rather than the

Re: #line directives from PMC file should now work

2004-11-11 Thread Leopold Toetsch
Nicholas Clark [EMAIL PROTECTED] wrote: I believe that I've now fixed all the bugs and made pmc2c2.pl emit accurate #line directives in the C source files it generates. Great, thanks a lot. Builds pass with the --no-lines option in Makefile removed. Should this be removed from the template

Re: #line directives from PMC file should now work

2004-11-11 Thread Jeff Clites
On Nov 11, 2004, at 6:53 AM, Leopold Toetsch wrote: Nicholas Clark [EMAIL PROTECTED] wrote: Builds pass with the --no-lines option in Makefile removed. Should this be removed from the template Makefile so that all builds now use #line directives? Yep. Is there still that %ENV var around to turn

Re: #line directives from PMC file should now work

2004-11-11 Thread Leopold Toetsch
Jeff Clites [EMAIL PROTECTED] wrote: I'd really like a way to turn them off easily (for the ops as well, actually). I find them to be counterproductive (for our stuff), since what gets shown in the debugger isn't stuff you can actually get gdb to evaluate. It depends. While hacking PMC files

Re: #line directives from PMC file should now work

2004-11-11 Thread Jeff Clites
On Nov 11, 2004, at 11:12 AM, Leopold Toetsch wrote: Jeff Clites [EMAIL PROTECTED] wrote: I'd really like a way to turn them off easily (for the ops as well, actually). I find them to be counterproductive (for our stuff), since what gets shown in the debugger isn't stuff you can actually get gdb