[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [libredwg] MSVC support?
From: |
Ivan Radic |
Subject: |
Re: [libredwg] MSVC support? |
Date: |
Sun, 22 Aug 2010 20:28:03 +0200 |
2010/8/22 Felipe Sanches <address@hidden>:
> is it really necessary to move char R2007plus_text_area_is_present = 0; ?
> Why?
Msvc doesn't support C99.
With default settings msvc is ansi c compiler (C89/C90) meaning that
"variable declaration is restricted to file scope or the start of a
compound statement (block)".
There are other ways to fix this:
1) add "{" to start, and "}" to end macro
2) compile library as c++ under msvc
Bye