Gtkmm-forge digest, Vol 1 #918 - 2 msgs



Send Gtkmm-forge mailing list submissions to
	gtkmm-forge lists sourceforge net

To subscribe or unsubscribe via the World Wide Web, visit
	https://lists.sourceforge.net/lists/listinfo/gtkmm-forge
or, via email, send a message with subject or body 'help' to
	gtkmm-forge-request lists sourceforge net

You can reach the person managing the list at
	gtkmm-forge-admin lists sourceforge net

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Gtkmm-forge digest..."


gtkmm-forge is the mailing list that receives gtkmm bug reports from bugzilla.  A daily digest is sent to gtkmm-main, to encourage people to help fixing the bugs. Do not try to unsubscribe gtkmm-forge from gtkmm-list.


Today's Topics:

   1. [Bug 302050] GCC 4 compilation fix (bugzilla-daemon bugzilla gnome org)
   2. [Bug 302050] GCC 4 compilation fix (bugzilla-daemon bugzilla gnome org)

--__--__--

Message: 1
From: bugzilla-daemon bugzilla gnome org
To: gtkmm-forge lists sourceforge net
Date: Fri, 29 Apr 2005 02:19:14 -0400 (EDT)
Subject: [gtkmm bugzilla] [Bug 302050] GCC 4 compilation fix

Please DO NOT reply to this by email. All additional comments should be m=
ade in
the comments box of this bug report.

 http://bugzilla.gnome.org/show_bug.cgi?id=3D302050
 gnomemm | build | Ver: 2.10





------- Additional Comments From Murray Cumming  2005-04-29 06:19 -------
This is a patch for the gtkmm 2.0 library. Did you meant to patch an old
version? gtkmm 2.4 is in the gtkmm cvs module.=20

------- You are receiving this mail because: -------
You are the assignee for the bug.


--__--__--

Message: 2
From: bugzilla-daemon bugzilla gnome org
To: gtkmm-forge lists sourceforge net
Date: Fri, 29 Apr 2005 06:22:36 -0400 (EDT)
Subject: [gtkmm bugzilla] [Bug 302050] GCC 4 compilation fix

Please DO NOT reply to this by email. All additional comments should be m=
ade in
the comments box of this bug report.

 http://bugzilla.gnome.org/show_bug.cgi?id=3D302050
 gnomemm | build | Ver: 2.10





------- Additional Comments From Stanislav Brabec  2005-04-29 10:22 -----=
--
Created an attachment (id=3D45821)
 --> (http://bugzilla.gnome.org/attachment.cgi?id=3D45821&action=3Dview)
gtkmm24-null.patch

gtkmm 2.4 already addresses NULL problem.

Maybe better than (void*)0 will be (void*)NULL or (char*)NULL.

For more see:
http://gcc.gnu.org/onlinedocs/gcc-4.0.0/gcc/Function-Attributes.html#inde=
x-g_t_0040code_007bsentinel_007d-function-attribute-1741


The problem of NULL is, that standards define NULL differently for C and =
C++,
and starting with GCC 4, gcc defines:

#if defined (_STDDEF_H) || defined (__need_NULL)
#undef NULL		/* in case <stdio.h> has defined it. */
#ifdef __GNUG__
#define NULL __null
#else	/* G++ */
#ifndef __cplusplus
#define NULL ((void *)0)
#else	/* C++ */
#define NULL 0
#endif	/* C++ */
#endif	/* G++ */
#endif	/* NULL not defined and <stddef.h> or need NULL.  */
#undef	__need_NULL


------- You are receiving this mail because: -------
You are the assignee for the bug.



--__--__--

_______________________________________________
Gtkmm-forge mailing list
Gtkmm-forge lists sourceforge net
https://lists.sourceforge.net/lists/listinfo/gtkmm-forge


End of Gtkmm-forge Digest



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]