The Ur-Quan Masters Home Page Welcome, Guest. Please login or register.
Did you miss your activation email?
June 26, 2019, 08:32:34 pm
Home Help Search Login Register
News: Paul Reiche and Fred Ford want to continue the story they started when they created Star Control II — The Ur-Quan Masters. «Happy days and jubilation!» «But wait!» «There is something wrong here... something which makes my sheath retract and my talons ooze.» «Please, Captain, we need your help!»

+  The Ur-Quan Masters Discussion Forum
|-+  The Ur-Quan Masters Re-Release
| |-+  Technical Issues (Moderator: Death 999)
| | |-+  2 errors on MSVC 05 compile
« previous next »
Pages: [1] Print
Author Topic: 2 errors on MSVC 05 compile  (Read 3020 times)
Zrie
Zebranky food
*
Offline Offline

Posts: 11



View Profile
2 errors on MSVC 05 compile
« on: May 19, 2008, 04:24:16 pm »

Hey, there.  Back once again.  Has anyone else run into problems compiling the last 10 builds or so with MVSC 05?  I'm getting 2 errors stopping the compilation from module "resinit.c" :

483 error C2275: 'CharHashTable_HashTable' : illegal use of this type as an expression
484 error C2065: 'map' : undeclared unidentifier

If anyone has seen this, let me know.

If it's just another issue with MSVC, then I'm just going to go the mingw route from now on.  Too many problems.
Logged
meep-eep
Forum Admin
Enlightened
*****
Offline Offline

Posts: 2847



View Profile
Re: 2 errors on MSVC 05 compile
« Reply #1 on: May 19, 2008, 05:51:29 pm »

483? Is that supposed to be a line number? Because my resinit.c only contains 234 lines.
Could there have been a merge conflict?
Logged

“When Juffo-Wup is complete
when at last there is no Void, no Non
when the Creators return
then we can finally rest.”
Zrie
Zebranky food
*
Offline Offline

Posts: 11



View Profile
Re: 2 errors on MSVC 05 compile
« Reply #2 on: May 19, 2008, 08:17:52 pm »

my apologies - I should have included line numbers.  I think the first numbers are the error/warning count.  The line that MVSC pointed to was 232.
Logged
Michael Martin
Core Team
*Smell* controller
*****
Offline Offline

Posts: 376



View Profile
Re: 2 errors on MSVC 05 compile
« Reply #3 on: May 19, 2008, 11:03:41 pm »

We've only ever done our own Windows-native builds on MSVC6 or recent versions of Visual Studio Express.  That said, if that's the *only* place you're getting the error, it sounds like some header is out of date.  This is particularly suspicious since a failure to find the "map" field in ResourceIndex should break *everyone*.

Does VS05 do precompiled headers? If so, does a Clean All/Rebuild All make it go away?


After a more thorough check by the rest of coredev, this is due to some C99-isms creeping in, and should be fixed in the next snapshot.
« Last Edit: May 19, 2008, 11:35:04 pm by Michael Martin » Logged
Pages: [1] Print 
« previous next »
Jump to:  


Login with username, password and session length

Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2015, Simple Machines Valid XHTML 1.0! Valid CSS!