GNOME Bugzilla – Bug 633886
Visual Studio emits warnings about double defined _USE_MATH_DEFINES
Last modified: 2010-11-03 14:30:35 UTC
Created attachment 173756 [details] [review] Kill MSVC warnings about double defined _USE_MATH_DEFINES The attached patch kills these warnings.
Thanks a lot for the patch. I've pushed this: commit b804d533204183b2ef72bf0105e1df9ea359893e Author: Vladimir Eremeev <wl2776@gmail.com> Date: Wed Nov 3 14:21:02 2010 +0000 math-compat: don't re-define _USE_MATH_DEFINES if already defined This avoids compiler warnings. https://bugzilla.gnome.org/show_bug.cgi?id=633886 It would be helpful if you could change your bugzilla preferences so that your full name is shown - that makes it easier to credit you for your work. And/or provide patches in git format-patch format, which would include your name and a commit message already then, see SubmittingPatches page on the wiki :)