Activity log for bug #870662

Date Who What changed Old value New value Message
2011-10-08 12:12:11 Stefano Facchini bug added bug
2011-10-08 12:18:35 Stefano Facchini description The following test program (test.cpp): #include <gtkmm.h> #include <poppler.h> int main() { return 0; } compiled with: g++ -o test test.cpp `pkg-config --cflags --libs gtkmm-3.0 poppler-glib` gives the error: In file included from /usr/include/gdkmm-3.0/gdkmm/window.h:37:0, from /usr/include/gdkmm-3.0/gdkmm.h:28, from /usr/include/gtkmm-3.0/gtkmm.h:92, from test.cpp:1: /usr/include/gdkmm-3.0/gdkmm/rgba.h: In static member function ‘static Gdk::RGBATraits::CType Gdk::RGBATraits::to_c_type(const CppType&)’: /usr/include/gdkmm-3.0/gdkmm/rgba.h:251:54: error: return type ‘Gdk::RGBATraits::CType {aka struct _GdkRGBA}’ is incomplete /usr/include/gdkmm-3.0/gdkmm/rgba.h: In static member function ‘static Gdk::RGBATraits::CType Gdk::RGBATraits::to_c_type(const CType&)’: /usr/include/gdkmm-3.0/gdkmm/rgba.h:252:54: error: return type ‘Gdk::RGBATraits::CType {aka struct _GdkRGBA}’ is incomplete Using: Ubuntu Oneiric 11.10 libgtkmm-3.0-1, libgtkmm-3.0-dev version 3.2.0-0ubuntu1 The same test program compiles just fine with gtkmm-2.4. Moreover, I get no errors with other distributions I tried (Archlinux, openSUSE 12.01), even with gtkmm-3.0 The following test program (test.cpp):     #include <gtkmm.h>     #include <poppler.h>     int main()     {          return 0;     } compiled with: g++ -o test test.cpp `pkg-config --cflags --libs gtkmm-3.0 poppler-glib` gives the error: In file included from /usr/include/gdkmm-3.0/gdkmm/window.h:37:0,                  from /usr/include/gdkmm-3.0/gdkmm.h:28,                  from /usr/include/gtkmm-3.0/gtkmm.h:92,                  from test.cpp:1: /usr/include/gdkmm-3.0/gdkmm/rgba.h: In static member function ‘static Gdk::RGBATraits::CType Gdk::RGBATraits::to_c_type(const CppType&)’: /usr/include/gdkmm-3.0/gdkmm/rgba.h:251:54: error: return type ‘Gdk::RGBATraits::CType {aka struct _GdkRGBA}’ is incomplete /usr/include/gdkmm-3.0/gdkmm/rgba.h: In static member function ‘static Gdk::RGBATraits::CType Gdk::RGBATraits::to_c_type(const CType&)’: /usr/include/gdkmm-3.0/gdkmm/rgba.h:252:54: error: return type ‘Gdk::RGBATraits::CType {aka struct _GdkRGBA}’ is incomplete Using: Ubuntu Oneiric 11.10 libgtkmm-3.0-1, libgtkmm-3.0-dev version 3.2.0-0ubuntu1 The same test program compiles just fine with gtkmm-2.4. The equivalent C program linked against gtk+-3.0 also compiles fine. Moreover, I get no errors with other distributions I tried (Archlinux, openSUSE 12.01), even with gtkmm-3.0
2011-10-28 07:10:01 Murray Cumming affects gtkmm3.0 (Ubuntu) poppler (Ubuntu)
2011-10-28 07:11:41 Murray Cumming summary Compile error if linking against gtkmm-3.0 and poppler-glib Compile error if linking against GTK+ 3 and poppler-glib via pkg-config
2012-02-16 14:40:14 Launchpad Janitor poppler (Ubuntu): status New Fix Released
2012-02-16 15:13:45 Launchpad Janitor branch linked lp:ubuntu/poppler