[prev in list] [next in list] [prev in thread] [next in thread]
List: libsigc-list
Subject: [sigc] namespace problem
From: Stéphane_Conversy <stephane.conversy () enac ! fr>
Date: 2008-08-28 8:45:26
Message-ID: AE3602E2-1297-49C0-98DF-714C0DF306E1 () enac ! fr
[Download RAW message or body]
hello,
the following snippet does not compile on MacOSX, with g++4.x:
#include <sigc++/sigc++.h>
using namespace sigc;
signal<void> m;
toto.cc:4: error: expected constructor, destructor, or type conversion
before ‘<’ token
I thought it was maybe because of <signal.h> or something so I put
guards before including sigc++/sigc++.h:
#define _USER_SIGNAL_H
#define _BSD_MACHINE_SIGNAL_H_
but it gives the same result. Any tips ?
best regards,
Stéphane Conversy
Enseignant Chercheur en IHM - ENAC
http://lii-enac.fr/~conversy
enac: +33 5 62 17 40 19
dgac r&d: +33 5 62 25 96 48
_______________________________________________
libsigc-list mailing list
libsigc-list@gnome.org
http://mail.gnome.org/mailman/listinfo/libsigc-list
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic