Issue Details (XML | Word | Printable)

Key: PCC-127
Type: Bug Bug
Status: Closed Closed
Resolution: Incomplete
Priority: Major Major
Assignee: Anders Magnusson
Reporter: Yang Ha Nguyen
Votes: 0
Watchers: 2

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

pcc 0.9 compilation error with gtk+-2.0

Created: 19/Apr/10 02:10 PM   Updated: 15/Aug/14 10:44 AM
Component/s: i386 target
Affects Version/s: None
Fix Version/s: None

File Attachments: 1. File error2.log.bz2 (178 kB)
2. Text File errors.log (3 kB)

Operating System: Microsoft Windows NT 6.1
Compiler: pcc 0.9.9 stable
Library: GTK+ 2.20.0 stable
IDE: Code::Blocks 8.02 stable

 Description  « Hide
I compiled with GTK+ project in Code::Blocks and got those errors (the attachment file). After changing the compiler to gcc (both version 3.x and 4.x), it worked fine.

 All   Comments   Change History      Sort Order: Ascending order - Click to sort in descending order
Anders Magnusson added a comment - 22/Apr/10 09:07 PM
Can you provide a preprocessed output of the failing file? This is adding -E to the compiler line, and then send the output to me.

Yang Ha Nguyen added a comment - 24/Apr/10 05:26 AM - edited
Yes, error2.log.bz2 is my error log after adding -E option and compiling with a command with the same options as using in Code::Blocks.

Anders Magnusson added a comment - 24/Apr/10 10:22 AM
It's the construction __declspec(dllimport) that fails. I have no idea how this should be handled though, we hope gmcgarry comes up with something. He is handling the win32 port.

Yang Ha Nguyen added a comment - 24/Apr/10 10:35 AM
I see. Thank you. I will try to compile the same project with pcc in my Linux system and report if I encounter any error.

Anders Magnusson added a comment - 14/Aug/14 01:04 PM

I have not gotten any update on this for some years. Should I close the ticket?

Yang Ha Nguyen added a comment - 15/Aug/14 09:32 AM
Sorry I didn't come back. Yes, please close the ticket.

Duong "Yang"

Anders Magnusson added a comment - 15/Aug/14 10:44 AM
Closed as requested by the reporter.