Surprisingly, svn update solved the issue.
My bad for not running the latest sources.
Thank you!

2017-07-28 15:24 GMT+02:00 Christopher Sean Morrison <brl...@mac.com>:

>
> > On Jul 28, 2017, at 4:22 AM, Mario Meissner <mr.rash....@gmail.com>
> wrote:
> >
> > Hello everyone.
> >
> > I'm facing an issue while trying to compile the whole solution in visual
> studio.
> > There seem to be syntax errors inside winnt.h, a file I have never
> touched. These errors showed up since I first tried to compile with VS
> weeks ago, but never bothered me because they didn't interfere. Now,
> however, I can't seem to run the debugger without solving them.
>
> Are your BRL-CAD sources up-to-date?  There was a commit by Bob just a few
> days ago that pertained to the CR symbol.  He’d changed our usage to CRET
> in src/burst/ascii.h to not conflict with the (new) Windows usage.  Given
> your error is in burst, it looks like you’re probably out-of-date.
>
> > I understand these are some windows headers, so it's not brlcad source
> code.
> > Do you have any idea what this could be and possible ways to solve it?
>
> Weird errors like that in headers are often preprocessor symbols, which
> can be anyone’s code including BRL-CAD code.  Now what makes this one
> interesting is that somehow winnt.h is being included AFTER burst's ascii.h
> header, which is unexpected — header inclusions are ordered, system headers
> should be first.  If you can find details on what headers it included
> before getting to the winnt header, that would be useful.
>
> > However I don't know which file is including winnt.h so that I cannot
> apply the suggested workarounds.
>
> BRL-CAD doesn’t include it directly, so it’s some other system header
> (e.g., windows.h, which we do include via bio.h but burst doesn’t use that
> directly.  maybe an indirect inclusion.)
>
> Short answer, run “svn update” every day.  Longer answer, a fix was made
> but it shouldn’t have been necessary — maybe some of these clues can help
> you figure out a better fix than the CRET rename.
>
> Cheers!
> Sean
>
>
> ------------------------------------------------------------
> ------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> BRL-CAD Developer mailing list
> brlcad-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/brlcad-devel
>
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
BRL-CAD Developer mailing list
brlcad-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/brlcad-devel

Reply via email to