1 Jan 2010 06:44
gcc-2.95 OK, gcc-{3,4}.X not OK
Andris Kalnozols <andris <at> hpl.hp.com>
2010-01-01 05:44:18 GMT
2010-01-01 05:44:18 GMT
I've got a bit of a quandry here and would like the advice
of people who are more experienced than I am at C programming
and debugging.
We've got a legacy application that compiles and runs fine
using the following compilers/platforms:
HP-UX 11.23 (PA-RISC) ANSI-C and aC++ C.11.23.04
HP-UX 11.31 (ia64) HP C/aC++ B3910B A.06.23 [May 18, 2009]
Debian "squeeze" i686 gcc-2.95
Here is some debugging output during a runtime parse
of the application's custom scripting language after
compiling with gcc-2.95:
'encountered _endif_; leaving gen_if()
'*cmd->cmd' is '134523664'
' cmd->op' is '200'
' flags' is '0'
' pc' is '200'
'tokenbuf' is 'endif'
' pcptr ' is '155572084'
'*pcptr ' is '0'
' pcptr->code' is '155572068'
'*pcptr->code' is '200'
' pc' is '155572068'
'*pc' is '200'
' pcptr->code->op' is '200'
calling '[while]parse_cmd' in parse_body
in parse_cmd():
(Continue reading)
RSS Feed