Re: XCode 2.2 & Qt toolkit issues
Re: XCode 2.2 & Qt toolkit issues
- Subject: Re: XCode 2.2 & Qt toolkit issues
- From: Eric Albert <email@hidden>
- Date: Wed, 30 Nov 2005 10:10:28 -0800
On Nov 30, 2005, at 8:26 AM, david tay wrote:
When building a xcode project created using qmake on MacOS X for both
PPC and i386, using the universal 10.4 SDK, I get the following
a. warnings about converting to non-pointer type to 'io_service_t'
from NULL
The line of code reads m_deviceDataPort = NULL;
where m_deviceDataPort is defined as
io_service_t deviceDataPort;
Use IO_OBJECT_NULL, not NULL.
b. warning 'struct XXXXXXX has virtual functions but non-virtual
destructor.
The structure XXXXXXX is defined like
interface XXXXXXX {
virtual bool myFunction(myParams);
}
Add a virtual destructor which does nothing. Without a virtual
destructor, deleting these objects may leak in some cases.
c. The compilation ultimately fails on PPC with complaints such as
{standard input}:17:no such 386 instruction: ....
On a DTK, the compilation fails with complaints such as
{standard input}:68:Invalid memonic ...
Looks like the build system is passing invalid assembly -- perhaps
assembly for the wrong architecture -- to the assembler. I'd suggest
looking at what's being built. That should tell you what #ifdefs you
need to add to your assembly files to ensure that they don't get
compiled for the wrong architecture.
Hope this helps,
Eric
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden