After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 478199 - Date::set_time() compilation error on NetBSD/amd64
Date::set_time() compilation error on NetBSD/amd64
Status: RESOLVED DUPLICATE of bug 386990
Product: glibmm
Classification: Bindings
Component: build
2.14.x
Other NetBSD
: Normal normal
: ---
Assigned To: gtkmm-forge
gtkmm-forge
Depends on:
Blocks:
 
 
Reported: 2007-09-18 22:26 UTC by Thomas Klausner
Modified: 2007-10-19 10:10 UTC
See Also:
GNOME target: ---
GNOME version: 2.19/2.20



Description Thomas Klausner 2007-09-18 22:26:20 UTC
Compiling glibmm-2.14.0 on NetBSD-4.99.31/amd64 fails with:
../../glib/glibmm/date.h:142: error: 'void Glib::Date::set_time(time_t)' cannot
be overloaded
../../glib/glibmm/date.h:130: error: with 'void Glib::Date::set_time(GTime)'
date.cc:84: error: redefinition of 'void Glib::Date::set_time(time_t)'
date.cc:76: error: 'void Glib::Date::set_time(GTime)' previously defined here
date.cc: In member function 'void Glib::Date::set_time(GTime)':
date.cc:86: error: 'timet' was not declared in this scope
Comment 1 Murray Cumming 2007-09-26 15:12:27 UTC
I guess that we need a configure check to discover whether this is allowed by the compiler/environment. Then we can ifdef out one of the set_time() functions.
Comment 2 Murray Cumming 2007-10-19 10:10:48 UTC

*** This bug has been marked as a duplicate of 386990 ***