• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: time.h vs Time.h
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: time.h vs Time.h


  • Subject: Re: time.h vs Time.h
  • From: Markian Hlynka <email@hidden>
  • Date: Wed, 25 Aug 2004 12:08:00 -0600

This is a good solution, but if I understand Massimo correctly, it's a _system library he'd have to modify to do this, and I understand why he feels this isn't acceptable. Plus, if it works on the CLI on OS X, then I suspect there's something else going on here.

Markian

On Aug 25, 2004, at 10:38, Karan, Cem (Civ, ARL/CISD) wrote:

I'm on a cross-platform team as well, so I understand how it goes.  Try
the following:

#ifdef __APPLE__
#	include </usr/include/time.h>
#else
#	include <time.h>
#endif

I don't know if that will solve your particular problem, but it works on
the ones that I deal with on a regular basis.


Thanks,
Cem Karan

Message: 9
To: email@hidden
From: Massimo Marino <email@hidden>
Subject: time.h vs Time.h
Date: Wed, 25 Aug 2004 16:37:34 +0200

Hi there,

pretty new to Xcode. Am using vs 1.5 . Currently just kicking
the tires.

I came across an oddity - related to case sensitivity - and I
wondered
if there is a workaround.

On a C++ file in a Xcode project for building a shared
library there is
a

#include <time.h>

Xcode complains that the file Base/Time.h (where Base/Time.h
is within
the project - with multiple targets - in the Base directory)
cannot be
found. Is there a way to tell Xcode that the file in question is
/usr/include/time.h and not be confused?
If I remove reference to the Base group in the project then Xcode
proceeds.

Is this going to bite a lot? Any way to force looking into
system files
(after all it is a <time.h> and not a "time.h" )

Searched extensively into Xcode documentation but found absolutely
nothing on the subject.
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.


  • Prev by Date: RE: time.h vs Time.h
  • Next by Date: Re: No Way to change Tab View Item in Interface Builder
  • Previous by thread: RE: time.h vs Time.h
  • Next by thread: Xcode 1.5 distributed build test results
  • Index(es):
    • Date
    • Thread