Re: [gtkmm] Must include <iostream> or I get an error?



I'm using Debian unstable and have gtkmm installed from there. I've not tried to build gtkmm from source. Why it's giving a "parse error" in libintl.h (from libc6-dev) I have no idea.

Moses

Murray Cumming Comneon com wrote:
Moses McKnight wrote:

Here's something which has bugged me off and on. I have been slowly learning gtkmm over time and have run into this peculiarity now a couple of times (and forgot it and had to figure it out again!) I find if I don't #include <iostream> (whether I'm using it or not) before including <gtkmm.h> and <libgnomeuimm.h> I get the following types of errors:

/usr/include/libintl.h:44: error: parse error before `__const'

It seems like before the errors may have been slightly different but similar and just as meaningless to me. I'm currently using g++ 3.3 but this has happened through several compiler versions.

Is this a bug?  Has anyone else run into this?

Thanks,
Moses


What distro are you using?

Does gtkmm build from source for you? There are several examples that do not
#include <iostream> and they are built as part of the main build.

_______________________________________________
gtkmm-list mailing list
gtkmm-list gnome org
http://mail.gnome.org/mailman/listinfo/gtkmm-list






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