|
[Playerstage-developers] [ playerstage-Bugs-2716292 ] Differing
exceptions in getopt declaration
From: SourceForge.net <noreply@so...> - 2009-03-27 05:21
|
Bugs item #2716292, was opened at 2009-03-27 16:21 Message generated for change (Tracker Item Submitted) made by olivercoleman You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=433164&aid=2716292&group_id=42445 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: player Group: trunk Status: Open Resolution: None Priority: 5 Private: No Submitted By: Oliver Coleman (olivercoleman) Assigned to: Brian Gerkey (gerkey) Summary: Differing exceptions in getopt declaration Initial Comment: [ 57%] Building CXX object server/libplayerdrivers/CMakeFiles/playerdrivers.dir/__/drivers/mixed/erratic/motorpacket.o In file included from /usr/include/unistd.h:849, from /home/data/ml/unsw/comp4411/player-trunk/server/drivers/mixed/erratic/motorpacket.cc:29: /usr/include/getopt.h:153: error: declaration of ‘int getopt(int, char* const*, const char*) throw ()’ throws different exceptions /home/data/ml/unsw/comp4411/player-trunk/replace/replace.h:141: error: from previous declaration ‘int getopt(int, char* const*, const char*)’ make[2]: *** [server/libplayerdrivers/CMakeFiles/playerdrivers.dir/__/drivers/mixed/erratic/motorpacket.o] Error 1 make[1]: *** [server/libplayerdrivers/CMakeFiles/playerdrivers.dir/all] Error 2 make: *** [all] Error 2 I replaced int getopt (int argc, char * const argv[], const char *optstring); with int getopt (int argc, char * const argv[], const char *optstring) __THROW; in replace/replace.h and replaced int getopt (int argc, char * const argv[], const char *optstring) with int getopt (int argc, char * const argv[], const char *optstring) throws() in replace/getopt.c and it seemed to compile okay... Using Ubuntu Jaunty 9.04 ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=433164&aid=2716292&group_id=42445 |
| Thread | Author | Date |
|---|---|---|
| [Playerstage-developers] [ playerstage-Bugs-2716292 ] Differing exceptions in getopt declaration | SourceForge.net <noreply@so...> |