Right now, my xcode project compiles under GCC 3.3. However, when I
switch to GCC 4.0, it doesn't compile, saying that an hmap file is not
a directory. How do I fix this?
> Right now, my xcode project compiles under GCC 3.3. However, when I
> switch to GCC 4.0, it doesn't compile, saying that an hmap file is not
> a directory. How do I fix this?
Silly question, but did you do a clean build after switching?
James - 25 May 2005 10:26 GMT
>> Right now, my xcode project compiles under GCC 3.3. However, when I
>> switch to GCC 4.0, it doesn't compile, saying that an hmap file is not
>> a directory. How do I fix this?
>
> Silly question, but did you do a clean build after switching?
I've had this problem with my old projects - it seems to recur *after* a
clean build. When re-building I end up with a file called:
build/MyProj.build/MyProj.build/MyProj.hmap
and the compiler barfs because it's not a directory. My current
workaround is to delete MyProj.hmap and create a directory with that
name. If there is a better way to stop this happening then let me know!
David Phillip Oster - 25 May 2005 14:55 GMT
> > Right now, my xcode project compiles under GCC 3.3. However, when I
> > switch to GCC 4.0, it doesn't compile, saying that an hmap file is not
> > a directory. How do I fix this?
>
> Silly question, but did you do a clean build after switching?
The "Clean" command in XCode is often not enough. You'd do better to go
into Finder and manually trash the contents of your Builds and Builds
Intermediates folders.

Signature
David Phillip Oster
kelvSYC - 28 May 2005 06:18 GMT
In article
<oster-D4FFF7.06555925052005@newssvr21-ext.news.prodigy.com>, David
Phillip Oster <oster@ieee.org> wrote:
> > > Right now, my xcode project compiles under GCC 3.3. However, when I
> > > switch to GCC 4.0, it doesn't compile, saying that an hmap file is not
[quoted text clipped - 5 lines]
> into Finder and manually trash the contents of your Builds and Builds
> Intermediates folders.
I've tried that but still result in the same error.

Signature
I am only a mirage.