[ntp:bugs] [Bug 695] libopts does not prevent macro collisions

bugzilla at ntp.isc.org bugzilla at ntp.isc.org
Tue Oct 24 09:47:36 PDT 2006


http://bugs.ntp.isc.org/695



----------------------------------------------------------------------------
Additional Comments From bruce.korb at gmail.com (Bruce Korb)
Submitted on 2006-10-24 16:47

Quoting wikipedia:

  Note that the #warning directive is not supported in Visual Studio .NET.
  There you must use #pragma warning directives.

Microsoft can do some mighty stupid things sometimes.
Please add the following to your "copyright.def" file:

  export = <<_EOF_
  #define NO_OPTION_NAME_WARNINGS 1
  _EOF_;

or else ensure you compile with -DNO_OPTION_NAME_WARNINGS
That will bypass all the warning directives.  Thanks - Bruce

-- 
Bruce Korb <bruce.korb at gmail.com>



------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


More information about the bugs mailing list