Index: ChangeLog =================================================================== RCS file: /project/cvsroot/vcs_3020_series/vds6000/software/os/ecos/ecos/packages/kernel/current/ChangeLog,v retrieving revision 1.1.2.4 retrieving revision 1.2.4.3 diff -u -5 -r1.1.2.4 -r1.2.4.3 --- ChangeLog 2003/09/17 08:23:34 1.1.2.4 +++ ChangeLog 2003/09/22 14:29:38 1.2.4.3 @@ -1,5 +1,11 @@ +2003-09-22 Reinhard Jessich + + * src/common/clock.cxx: Removed label/goto + add_alarm_unlock_return to get rid of compiler error when + CYGIMP_KERNEL_COUNTERS_SORT_LIST is enabled. + 2003-09-01 Bart Veer * doc/kernel.sgml: fix typo, cyg_thread vs. cyg_thread_t 2003-07-18 Nick Garnett Index: src/common/clock.cxx =================================================================== RCS file: /project/cvsroot/vcs_3020_series/vds6000/software/os/ecos/ecos/packages/kernel/current/src/common/clock.cxx,v retrieving revision 1.1.2.2 diff -u -5 -r1.1.2.2 clock.cxx --- src/common/clock.cxx 2003/07/28 12:41:46 1.1.2.2 +++ src/common/clock.cxx 2003/09/22 15:19:54 @@ -382,28 +382,22 @@ // in front of it. if( list_alarm->trigger > alarm->trigger ) { alarm_list_ptr->insert( list_alarm, alarm ); - goto add_alarm_unlock_return; + return; } list_alarm = list_alarm->get_next(); } while( list_alarm != alarm_list_ptr->get_head() ); // a lower or equal alarm time was not found, so drop through // so it is added to the list tail } - alarm_list_ptr->add_tail( alarm ); - - add_alarm_unlock_return: -#else - - alarm_list_ptr->add_tail( alarm ); - #endif + alarm_list_ptr->add_tail( alarm ); } // ------------------------------------------------------------------------- // Remove an alarm from this counter