<< Back to previous view

[PCC-280] pcc fails to compile code of Bro IDS Created: 16/Mar/11  Updated: 01/May/14

Status: Closed
Project: pcc
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Igor Zinovik Assignee: Anders Magnusson
Resolution: Won't Fix Votes: 0
Environment: pcc 1.1.0.DEVEL 20110221 for i386-unknown-openbsd4.9 (source fetched and builded on 16 March 2011)
OpenBSD-current/i386

File Attachments: File bro_hashtable.c    

 Description   
While trying to compile new version of Bro IDS (http://www.bro-ids.org)
pcc fails:

/usr/local/bin/pcc -DHAVE_CONFIG_H -I. -I.. -W -Wall -Wno-unused -I../compat -O2 -pipe -c bro_hashtable.c -fPIC -DPI
C -o .libs/bro_hashtable.o
bro_hashtable.c, line 416: syntax error
Error while executing /usr/local/bin/pcc -DHAVE_CONFIG_H -I. -I.. -W -Wall -Wno-unused -I../compat -O2 -pipe -c bro_
hashtable.c -fPIC -DPIC -o .libs/bro_hashtable.o


 Comments   
Comment by Anders Magnusson [ 16/Mar/11 10:14 PM ]
Can you provide me with a preprocessed output? Something like:
/usr/local/bin/pcc -DHAVE_CONFIG_H -I. -I.. -W -Wall -Wno-unused -I../compat -O2 -pipe -c bro_hashtable.c -fPIC -DPIC -E > foo.output

and mail foo.output to me?
Comment by Igor Zinovik [ 16/Mar/11 10:16 PM ]
I'm sorry, seems that just inclusion of stdint.h was missing. I was too impatient and hited "send" to early.
Will try to fix tomorrow.
Comment by Anders Magnusson [ 01/May/14 01:42 PM ]
Error was in supplied code.
Generated at Fri Aug 22 13:48:17 CEST 2014 using JIRA Enterprise Edition, Version: 3.13.1-#333.