TheGOro / googletest

Automatically exported from code.google.com/p/googletest
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Use of None in Google Test conflicts with a preprocessor definition in X11/X.h #371

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
X11/X.h #defines None, which breaks compilation of gtest-type-util.h if gtest.h 
is #included after X.h.

Original issue reported on code.google.com by vladlosev on 2 Jun 2011 at 8:23

GoogleCodeExporter commented 9 years ago
Similar conflict exists for Bool (from X11/Xlib.h).

Original bug report on the mailing list: 
https://groups.google.com/d/topic/googletestframework/IUmyvi2cJ8c/discussion

Original comment by fischman@chromium.org on 18 Jul 2011 at 5:34