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 10:05:52 -0700 
2006 -------
This has been haunting many projects for long time and GCC is, of course, one of
them:

http://gcc.gnu.org/ml/gcc/1999-03/msg00111.html

Basically, NULL as 0L in C++ is perfectly legal as Darwin did.

Some times, they chose to cast them explitly:

http://uwog.net/news/?p=38

Some projects decided to override it as OpenOffice.org did without checking C or
C++.  I think KDE does that but they have this insightful rules:

http://www.ph.unimelb.edu.au/~ssk/kde/devel/portable.html

I don't mind any path you choose but using NULL as (void *)0 in C++ context is
really bad idea.  Therefore, I think these sentinels must be casted explicitly,
with or without fixing the header file.

---------------------------------------------------------------------
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]

Reply via email to