Author Topic: [lack info] [31def0dc1a] Preprocessor inconsistencies when compiling MSVS debug  (Read 1105 times)

Omega

  • MegaGlest Team
  • Dragon
  • ********
  • Posts: 6,167
  • Professional bug writer
    • View Profile
    • Personal site
ExceptionHandler::handle(LPEXCEPTION_POINTERS) in main.cpp references stackdumper(), which is only visible if _DEBUG is not defined. As a result, there's compile time errors when compiling in debug mode.

This is on branch develop (I presume that's the active development branch; couldn't find any info about how the project uses branches) as of rev 31def0dc1a. This is applicable to MSVS 2010 (should affect all MSVS versions).

EDIT: Actually, it turns out that the code inside the #IFDEFs doesn't compile, anyway. It uses non-existent variables. It's not clear why.
« Last Edit: 19 July 2014, 16:16:14 by Omega »
Edit the MegaGlest wiki: http://docs.megaglest.org/

My personal projects: http://github.com/KatrinaHoffert

filux

  • MegaGlest Team
  • Draco Rider
  • ********
  • Posts: 310
  • was OpenSuse x64, is Debian testing x64
    • View Profile
...I presume that's the active development branch; couldn't find any info about how the project uses branches...
Very official and common way, go there and read "The main branches" paragraph first. I haven't idea why it isn't written on the beginning  ::).

Omega

  • MegaGlest Team
  • Dragon
  • ********
  • Posts: 6,167
  • Professional bug writer
    • View Profile
    • Personal site
...I presume that's the active development branch; couldn't find any info about how the project uses branches...
Very official and common way, go there and read "The main branches" paragraph first. I haven't idea why it isn't written on the beginning  ::).
Oh, I know, I use Git all the time. I'm a CS student and currently employed at my university to bring in heavy refactoring to this Java simulation system that was programmed by C programmers.

I mentioned the branches because I've seen a lot of projects use them in crazy ways (the simulation system that I mentioned was originally developed for months by some very smart people without version control).
Edit the MegaGlest wiki: http://docs.megaglest.org/

My personal projects: http://github.com/KatrinaHoffert

 

anything