haiku/headers/libs/print/libprint
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
..
AboutBox.h * move libprint sources into libs, as it is a 3rdparty lib 2008-07-22 20:30:14 +00:00
AddPrinterDlg.h * Code style changes (missing header files from r39770) 2010-12-08 20:07:22 +00:00
BlockingWindow.h * rename InterfaceUtils.h/cpp to BlockingWindow.h/cpp and adjust includes 2008-07-30 21:24:19 +00:00
DbgMsg.h Added missing include statements to fix build in case DBG is defined. 2009-08-18 07:19:54 +00:00
DialogWindow.h * move libprint sources into libs, as it is a 3rdparty lib 2008-07-22 20:30:14 +00:00
Exports.h * move libprint sources into libs, as it is a 3rdparty lib 2008-07-22 20:30:14 +00:00
GraphicsDriver.h * Bug fixed: WriteSpoolData didn't pass data to 2010-12-10 10:47:19 +00:00
Halftone.h Fix gcc2 build on Mac OS X Lion. 2012-04-07 06:21:26 -04:00
HalftoneView.h * Code style changes (missing header files from r39770) 2010-12-08 20:07:22 +00:00
JobData.h * Code style changes (missing header files from r39770) 2010-12-08 20:07:22 +00:00
JobSetupDlg.h * Added bool and double BString::operator<<() versions. 2011-07-07 10:17:15 +00:00
JSDSlider.h * Use layout API in libprint dialogs. 2010-10-16 19:56:34 +00:00
MarginView.h * Use layout API in libprint dialogs. 2010-10-16 19:56:34 +00:00
PackBits.h * Code style changes (missing header files from r39770) 2010-12-08 20:07:22 +00:00
PageSetupDlg.h * Use layout API in libprint dialogs. 2010-10-16 19:56:34 +00:00
PagesView.h * Code style changes (missing header files from r39770) 2010-12-08 20:07:22 +00:00
Pattern.h * move libprint sources into libs, as it is a 3rdparty lib 2008-07-22 20:30:14 +00:00
Preview.h * cleanup 2008-08-04 23:29:40 +00:00
PrinterCap.h * Bug fixed: WriteSpoolData didn't pass data to 2010-12-10 10:47:19 +00:00
PrinterData.h * Code style changes (missing header files from r39770) 2010-12-08 20:07:22 +00:00
PrinterDriver.h * Code style changes (missing header files from r39770) 2010-12-08 20:07:22 +00:00
PrintJobReader.h * Code style changes (missing header files from r39770) 2010-12-08 20:07:22 +00:00
PrintProcess.h * More style changes. 2010-10-25 11:44:09 +00:00
PrintUtils.h * merge parts of libprint and libprintutils to make both indepentend 2008-07-26 22:36:01 +00:00
SpoolMetaData.h * Code style changes (missing header files from r39770) 2010-12-08 20:07:22 +00:00
StatusWindow.h * Use Layout API. 2010-10-30 08:40:04 +00:00
Transport.h * Code style changes (missing header files from r39770) 2010-12-08 20:07:22 +00:00
UIDriver.h * Code style changes (missing header files from r39770) 2010-12-08 20:07:22 +00:00
ValidRect.h * move libprint sources into libs, as it is a 3rdparty lib 2008-07-22 20:30:14 +00:00