[sigc] unexpected error while compiling



In file included from /home/autres/berger/stage2005/include/sigc++/signal.h:8,
                 from /home/autres/berger/stage2005/include/sigc++/sigc++.h:23,
                 from
/home/autres/berger/stage2005/include/elisa/elisa_observer.h:27,
                 from
/home/autres/berger/stage2005/include/elisa/elisa_variable.h:26,
                 from
/home/autres/berger/stage2005/include/elisa/elisa_model.h:23,
                 from elisa_interface.h:15,
                 from main.cpp:3:
/home/autres/berger/stage2005/include/sigc++/signal_base.h: Dans constructor «
   sigc::internal::temp_slot_list::temp_slot_list(std::list<sigc::slot_base,
   std::allocator<sigc::slot_base> >&) »:
/home/autres/berger/stage2005/include/sigc++/signal_base.h:178: attention :
default-initialization
   of `std::list<sigc::slot_base, std::allocator<sigc::slot_base>
   >&sigc::internal::temp_slot_list::slots_', which has reference type
In file included from /home/autres/berger/stage2005/include/sigc++/sigc++.h:23,
                 from
/home/autres/berger/stage2005/include/elisa/elisa_observer.h:27,
                 from
/home/autres/berger/stage2005/include/elisa/elisa_variable.h:26,
                 from
/home/autres/berger/stage2005/include/elisa/elisa_model.h:23,
                 from elisa_interface.h:15,
                 from main.cpp:3:
/home/autres/berger/stage2005/include/sigc++/signal.h: At global scope:
/home/autres/berger/stage2005/include/sigc++/signal.h:448: error: erreur de
   syntaxe before `*' token
/home/autres/berger/stage2005/include/sigc++/signal.h:455: error: invalid data
   member initialization
/home/autres/berger/stage2005/include/sigc++/signal.h:455: error: (use `=' to
   initialize static data members)
/home/autres/berger/stage2005/include/sigc++/signal.h:456: error: erreur de
   syntaxe before `->' token
/home/autres/berger/stage2005/include/sigc++/signal.h:459: error: erreur de
   syntaxe before `return'
/home/autres/berger/stage2005/include/sigc++/signal.h:463: error: erreur de
   syntaxe before `}' token
/home/autres/berger/stage2005/include/sigc++/signal.h:471: error: `signal_emit0
   ' is not a template
/home/autres/berger/stage2005/include/sigc++/signal.h:472: error: le C++ ISO
   interdit la déclaration de « signal_emit0 » sans type
/home/autres/berger/stage2005/include/sigc++/signal.h:472: error: template-id `
   signal_emit0<T_return, sigc::nil>' used as a declarator
/home/autres/berger/stage2005/include/sigc++/signal.h:472: embrouillé par les
erreurs précédentes, abandon
make: *** [main.o] Erreur 1




Does anybody understand ? I don't... Sorry to bother !


BERGER Nicolas.

PS:  here's the hierarchy I am working into :

home
|
|--elisa
|
|--framework

The error occurs when I compile files inside the framework directory, but not
when I compile files inside the elisa directory...



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