Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Cannot compile source at all, need help  (Read 962 times)

roushguy

  • Bay Watcher
    • View Profile
Cannot compile source at all, need help
« on: January 09, 2014, 11:26:39 pm »

I can't figure out what's wrong, but for some reason, whenever I try to compile the source code, I keep getting the following in the log, and the build fails. Can anyone take a look and help me out?

http://pastebin.com/4g1cu6yb
Logged

roushguy

  • Bay Watcher
    • View Profile
Re: Cannot compile source at all, need help
« Reply #1 on: January 10, 2014, 04:05:29 am »

after talking to others, I have determined the issue lies in the following three lines of code. If someone can help me get this working, I'd be appreciative.

Code: [Select]
   Interval():min(0),max(0) {}
   Interval(int value):min(value),max(value) {}
   Interval(int low, int high):min(low),max(high) {}
Logged

Carlos Gustavos

  • Bay Watcher
    • View Profile
Re: Cannot compile source at all, need help
« Reply #2 on: January 11, 2014, 10:14:17 am »

Apparently Windows has macros called min and max. You have to define NOMINMAX to have it compile.
Logged

roushguy

  • Bay Watcher
    • View Profile
Re: Cannot compile source at all, need help
« Reply #3 on: January 12, 2014, 02:44:27 am »

Alright. I will try that sometime. For the time being, I've found a workaround using the beta's source. Thank you.
Logged