GNOME Bugzilla – Bug 606665
error: "__MSVCRT_VERSION__" redefined
Last modified: 2010-01-12 13:01:10 UTC
Some files (that were added since October, while my buildbot was dead) in -bad do include config.h after some system headers. This doesn't work well on Windows, because config.h defines much needed __MSVCRT_VERSION__ constant, which must be defined before system headers are included. Also, there's a typo in mpegdemux Makefile.am Patch coming soon.
Created attachment 151184 [details] [review] Include config.h before anything else. Fix mpegdemux LIBADD
commit b3f0b029f3c3382cf7d63c22f144e3204c68b182 Author: <D0><F3><F1><EB><E0><ED> <C8><E6><E1><F3><EB><E0><F2><EE><E2> <lrn1986@g Date: Mon Jan 11 22:41:57 2010 +0300 win32: Include config.h before anything else. Fix mpegdemux LIBADD Because config.h defines __MSVCRT_VERSION__, which should be defined before inclusion of any system header. Also fixes mpegdemux Makefile.am LIBADD typo. Fixes #606665
> commit b3f0b029f3c3382cf7d63c22f144e3204c68b182 > Author: <D0><F3><F1><EB><E0><ED> <C8><E6><E1><F3><EB><E0><F2><EE><E2> > <lrn1986 LRN: now, any chance you could use an UTF-8 environment/locale or somehow otherwise make sure we get your name in UTF-8 encoding? :-)
Ah, i've used vim to edit the config. I thought it uses utf8 by default. Apparently not :(