<< Back to previous view

[PCC-127] pcc 0.9 compilation error with gtk+-2.0 Created: 19/Apr/10  Updated: 15/Aug/14

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

Type: Bug Priority: Major
Reporter: Yang Ha Nguyen Assignee: Anders Magnusson
Resolution: Incomplete Votes: 0
Environment: 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

File Attachments: File error2.log.bz2     Text File errors.log    

 Description   
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.

 Comments   
Comment by Anders Magnusson [ 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.
Comment by Yang Ha Nguyen [ 24/Apr/10 05:26 AM ]
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.
Comment by Anders Magnusson [ 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.
Comment by Yang Ha Nguyen [ 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.
Comment by Anders Magnusson [ 14/Aug/14 01:04 PM ]
Hi,

I have not gotten any update on this for some years. Should I close the ticket?
Comment by Yang Ha Nguyen [ 15/Aug/14 09:32 AM ]
Sorry I didn't come back. Yes, please close the ticket.

Duong "Yang"
Comment by Anders Magnusson [ 15/Aug/14 10:44 AM ]
Closed as requested by the reporter.
Generated at Mon Sep 01 23:07:15 CEST 2014 using JIRA Enterprise Edition, Version: 3.13.1-#333.