![]() |
#1 |
Knight
Join Date: Jan 2009
Posts: 657
![]() |
Rename /src/player/util.c ?
It's a small point, but some compilers dislike it when there are two files of the same name. The 'object' files have (for example) 'obj-util.c' so they're no problem, using a a similar approach you could change the util.c in /src/player/ to 'pla-util.c' or 'plyr-util.c'.
__________________
Currently turning (Angband) Japanese. |
![]() |
![]() |
![]() |
#2 | |
Veteran
Join Date: Apr 2007
Posts: 1,951
Donated: $40
![]() |
Quote:
__________________
takkaria whispers something about options. -more- |
|
![]() |
![]() |
![]() |
#3 | |
Knight
Join Date: Jan 2009
Posts: 657
![]() |
Quote:
Conflicting file 'player\util.c' found in target 'Angband65.exe' is displayed.
__________________
Currently turning (Angband) Japanese. |
|
![]() |
![]() |
![]() |
#4 | |
Veteran
Join Date: Apr 2007
Posts: 1,951
Donated: $40
![]() |
Quote:
__________________
takkaria whispers something about options. -more- |
|
![]() |
![]() |
![]() |
#5 | |
Knight
Join Date: Jan 2009
Posts: 657
![]() |
Quote:
I've reported the bug to Open Watcom. [EDIT] It looks like what the problem is is that it creates all .obj files in the base (/src) directory whether the source files were in a subdirectory or not. So it's a compiler error, I guess, not an IDE error as I thought.
__________________
Currently turning (Angband) Japanese. Last edited by PaulBlay; April 8, 2009 at 18:11. |
|
![]() |
![]() |
![]() |
#6 |
Knight
|
Since the same issue is occurring with MSVC++ 2008 as well, perhaps you might reconsider your position on this, Takkaria?
edit: oh, wait, I just found a nifty feature in VC++... you can override the name of the obj file generated for a specific c file! ![]()
__________________
You read the scroll labeled NOBIMUS UPSCOTI... You are surrounded by a stasis field! The tengu tries to teleport, but fails! Last edited by ekolis; August 6, 2009 at 15:37. |
![]() |
![]() |
![]() |
#7 |
Veteran
Join Date: Apr 2007
Posts: 1,951
Donated: $40
![]() |
Maybe. I really don't understand how MSVC can be that bad, though. There must be other projects which have more than one file with the same name in different directories...
__________________
takkaria whispers something about options. -more- |
![]() |
![]() |
![]() |
#8 |
Scout
Join Date: Aug 2009
Posts: 26
![]() |
There are two bugs in Connect for your issue with Visual C++. It's a bug, and while it works just fine in VS2005, it's broken in VS2008. Sadly, it won't be fixed any time soon (maybe VS10).
http://connect.microsoft.com/VisualS...dbackID=395521 http://connect.microsoft.com/VisualS...dbackID=368272 |
![]() |
![]() |
![]() |
#9 |
Knight
Join Date: Apr 2007
Posts: 590
![]() |
Yes: have to use non-default makefile rules, but any vaguely aware make utility has this capability.
__________________
Zaiband: end the "I shouldn't have survived that" experience. V3.0.6 fork on Hg. Zaiband 3.0.10 ETA Mar. 7 2011 (Yes, schedule slipped. Latest testing indicates not enough assert() calls to allow release.) Z.C++: pre-alpha C/C++ compiler system (usable preprocessor). Also on Hg. Z.C++ 0.0.10 ETA December 31 2011 |
![]() |
![]() |
![]() |
#10 | |
Veteran
Join Date: Apr 2007
Posts: 1,951
Donated: $40
![]() |
Quote:
__________________
takkaria whispers something about options. -more- |
|
![]() |
![]() |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Unifying monster and player races, some thoughts | CJNyfalt | Variants | 4 | January 8, 2009 14:14 |
Yet another new player | Sordino | AAR | 19 | May 14, 2008 10:52 |
player ghosts | daft | Vanilla | 10 | April 27, 2008 17:20 |
Saving PLAYER.prf *where* under Windows? | TJA | Vanilla | 2 | August 16, 2007 23:32 |
[All] Protecting the @ from player stupidity. | andrewdoull | Variants | 10 | July 3, 2007 13:39 |