#include <cstddef> may declare size_t only in namespace std
- From: Kjell Ahlstedt <kjell ahlstedt bredband net>
- To: gtkmm-list <gtkmm-list gnome org>
- Subject: #include <cstddef> may declare size_t only in namespace std
- Date: Tue, 31 Jul 2012 10:06:48 +0200
The following posts in libsigc-list discuss an issue that will affect
not only libsigc++.
https://mail.gnome.org/archives/libsigc-list/2012-July/msg00007.html
https://mail.gnome.org/archives/libsigc-list/2012-July/msg00011.html
libsigc++, glibmm, gtkmm and perhaps other modules assume that '#include
<cxxxxx>' (cxxxxx = cstddef, cstdlib, ctime, etc.) declares data types
and functions in the global namespace. With gcc version 4.7 they are
declared only in namespace std.
Kjell
[
Date Prev][
Date Next] [
Thread Prev][Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]