To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=66666
------- Additional comments from [EMAIL PROTECTED] Fri Jun 23 07:23:16 -0700 2006 ------- In light of what pan writes, and in light of the below message which I just posted on comp.std.c++ (where it did not yet get past moderation, so did not receive any answers yet): Maybe the best solution to the SalGtkFilePicker.cxx and salnativewidgets-gtk.cxx problems in issue 66686 is to *do* apply the corresponding patches from issue 66686 (independently of removing #define NULL from tools/inc/solar.h). ---8<--- Ellipsis and null pointer constant Is my understanding correct that with void f(int, ...); f(1, 0); f(2, NULL); f(3, static_cast< int * >(0)); neither the first nor the second call portably pass a null pointer value as second argument to f (which f could obtain with va_arg(ap, int)), and that instead something like the third form must be used? I assume so, as pointer conversion (which null pointer constant to null pointer value is, 4.10/1) is not mentioned in 5.2.2/7. (And I guess that the leeway to allow NULL to be defined as any of 0, 0L, etc. is there so that the second form *does* work in practice. Is that right?) ---8<--- --------------------------------------------------------------------- Please do not reply to this automatically generated notification from Issue Tracker. Please log onto the website and enter your comments. http://qa.openoffice.org/issue_handling/project_issues.html#notification --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
