Issue Details (XML | Word | Printable)

Key: PCC-280
Type: Bug Bug
Status: Closed Closed
Resolution: Won't Fix
Priority: Major Major
Assignee: Anders Magnusson
Reporter: Igor Zinovik
Votes: 0
Watchers: 0

If you were logged in you would be able to see more operations.

pcc fails to compile code of Bro IDS

Created: 16/Mar/11 09:41 PM   Updated: 01/May/14 01:42 PM
Component/s: None
Affects Version/s: None
Fix Version/s: None

File Attachments: 1. File bro_hashtable.c (8 kB)

pcc 1.1.0.DEVEL 20110221 for i386-unknown-openbsd4.9 (source fetched and builded on 16 March 2011)

 Description  « Hide
While trying to compile new version of Bro IDS (
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

 All   Comments   Change History      Sort Order: Ascending order - Click to sort in descending order
Anders Magnusson added a comment - 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?

Igor Zinovik added a comment - 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.

Anders Magnusson added a comment - 01/May/14 01:42 PM
Error was in supplied code.