haiku/headers
John Scipione 7c369a4b3f Fix gcc2 build on Mac OS X Lion.
The gcc2 cross-compiler built on Mac OS X Lion has a bug in it
where it is erroring with 'cast specifies signature type' when
assigning 0 or NULL to a pointer to a member fuction. NULL in this
instance is correctly converted to 0 since it is illegal to assign
((void*)0) to a pointer to a member function. However, it should
be legal to assign 0 to a pointer to a member function. Thus, there
is a bug.  Since I can't fix the gcc2 compiler I am working around
this bug by assigning the pointer to a do nothing function instead.

My host compiler version is
i686-apple-darwin11-gcc-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5666) (dot 3)

The same error occurs using the default gcc-llvm compiler and
a standard gcc 4.61 built from source. This bug does not occur on
Mac OS X 10.6 gcc2 or gcc4, nor does it occur on Mac OS X 10.7 with
the gcc4 cross-compiler.

If and when we decide to finally leave gcc2 behind we can revert this
change.
2012-04-07 06:21:26 -04:00
..
build Style fixes suggested by Axeld. 2012-03-09 14:39:24 -05:00
compatibility * Added definitions for n_short, n_long, and n_time as expected on FreeBSD when 2011-07-23 15:41:47 +00:00
config Filtered flat import of Oliver's svn package management branch 2011-11-25 06:17:07 +01:00
cpp Fix #7948: add correct prototype for String::compare alongside the wrong one 2011-10-31 09:56:00 +00:00
glibc * merged 32bit-wchar_t branches of buildtools and haiku back into 2009-07-07 10:30:09 +00:00
libs Fix gcc2 build on Mac OS X Lion. 2012-04-07 06:21:26 -04:00
os PCI: add bridge control flags and use them. 2012-02-27 21:46:01 +01:00
posix Fix warnings about MB_LEN_MAX being redefined. 2012-02-26 22:45:16 +01:00
private radeon_hd: Move out some DisplayPort common code 2012-04-06 13:43:09 -05:00
tools * Moved everything into the SymbolPatcher namespace. 2009-11-05 17:16:17 +00:00