Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Compilation of IOHIDFamily under 10.4.1



The compilation errors have nothing to do with gcc3 or 4.

Some header files like clock.h ans OSBase.h were modified in 10.4.

Some macros  were removed/ omitted.

If you don't depend on 10.4 specific stuff, compile using the 10.3 sdk since any drivers compiled on 10.4 will not work on pre Tiger systems.

David
On May 23, 2005, at 12:05 PM, email@hidden wrote:

Message: 4

Date: Mon, 23 May 2005 10:33:40 -0700

From: Garth Cummings <email@hidden>

Subject: Re: Compilation of IOHIDFamily under 10.4.1

To: Nicolas Diez <email@hidden>

Cc: Darwin Drivers Mailing List <email@hidden>

Message-ID: <email@hidden">email@hidden>

Content-Type: text/plain; charset="us-ascii"


Hi Nicolas,


On May 23, 2005, at 5:55 AM, Nicolas Diez wrote:



Well, for a project, I have to modify IOHIDFamily sources. I've

downloaded the IOHIDFamily-164 which is the package for 10.4.1.


When I try to build it(without modifications in source code) under

Xcode 2 with gcc4.0, I obtain the followings errors



<snip>


While gcc4 is the default compiler on Tiger, most of Tiger was  

actually built using gcc3.3. C++ code seems to be more problematic  

with gcc4 as the newer compiler is much stricter about following the C 

++ language standard than older gcc versions.


I suggest using gcc3.3 to build C++ code from Darwin if it doesn't  

build cleanly under gcc4.


Regards,

--gc



 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-drivers mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/darwin-drivers/email@hidden

This email sent to email@hidden



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.