[GRASS-dev] fixes for Windows

Martin Landa landa.martin at gmail.com
Wed Dec 16 16:07:55 EST 2009


Hi,

2009/12/16 Glynn Clements <glynn at gclements.plus.com>:

[...]

> 5. The definition of PACKAGE needs the backslashes, i.e.:
>
>        macros = [('PACKAGE', '\\"grasslibs\\"')]
>
> (but this might break other platforms).

Then I am getting (GNU/Linux)

<command-line>: warning: missing terminating " character

Could this be avoided?

> BTW, vdigit uses _(...) but doesn't include glocale.h, so this will
> use wxWidgets' _(...) macro from <wx/intl.h>, not GRASS'.
>
> 6. A couple of minor bugs:
>
> vdigit/digit.cpp expects _CPPRTTI to be defined if _WIN32 is defined,
> but this should only be done for MSVC.
>
> vdigit/driver.cpp uses getpid() but doesn't include <unistd.h>.

Should be fixed in r40030.

Martin


More information about the grass-dev mailing list