NPP1.0 with VC90 fatal error C1047

I have tried to compile a small testprogrem using NPP1.0 (win32) and visual studio 2008 (vc90).

Building the debug version was no problem, but when building the release version I got:

fatal error C1047: The object or library file ‘…/lib/libnpp-mt.lib’ was created with an older compiler than other
objects; rebuild old objects and libraries

I have found out that you have to disable the /GL compiler option to compile the program.

Properties -> C/C++ -> Optimization -> Whole Program Optimization -> No

I thought I share this bit.