← Back to team overview

yade-dev team mailing list archive

Re: [svn] r1923 - trunk/core

 

Hmm, still have it.


In file included from
/home/gladk/dem/yade/current/build-current/core/core.cpp:24:
/home/gladk/dem/yade/current/trunk/core/yade.cpp: In function 'void
sigHandler(int)':
/home/gladk/dem/yade/current/trunk/core/yade.cpp:85: error: jump to case
label
/home/gladk/dem/yade/current/trunk/core/yade.cpp:80: error:   crosses
initialization of 'int res'
/home/gladk/dem/yade/current/trunk/core/yade.cpp:80: warning: unused
variable 'res'
scons: *** [/home/gladk/dem/yade/current/build-current/core/core.o] Error 1
scons: building terminated because of errors.


______________________________
[ENG] Best Regards
[GER] Mit freundlichen Grüßen
[RUS] С наилучшими пожеланиями
[UKR] З найкращими побажаннями

Anton Gladkyy


2009/8/5 eudoxos at BerliOS <eudoxos@xxxxxxxxxxxxxxx>

> Author: eudoxos
> Date: 2009-08-05 13:03:10 +0200 (Wed, 05 Aug 2009)
> New Revision: 1923
>
> Modified:
>   trunk/core/BexContainer.hpp
>   trunk/core/yade.cpp
> Log:
> 1. Fix https://bugs.launchpad.net/bugs/409254
>
>
> Modified: trunk/core/BexContainer.hpp
> ===================================================================
> --- trunk/core/BexContainer.hpp 2009-08-05 10:09:52 UTC (rev 1922)
> +++ trunk/core/BexContainer.hpp 2009-08-05 11:03:10 UTC (rev 1923)
> @@ -179,7 +179,7 @@
>                        if(moveRotUsed){
>                                memset(_move  [0],0,sizeof(Vector3r)*size);
>                                memset(_rot   [0],0,sizeof(Vector3r)*size);
> -                               moveRotUsed=False;
> +                               moveRotUsed=false;
>                        }
>                }
>                //! No-op for API compatibility with the threaded version
>
> Modified: trunk/core/yade.cpp
> ===================================================================
> --- trunk/core/yade.cpp 2009-08-05 10:09:52 UTC (rev 1922)
> +++ trunk/core/yade.cpp 2009-08-05 11:03:10 UTC (rev 1923)
> @@ -77,7 +77,7 @@
>                case SIGSEGV:
>                        signal(SIGSEGV,SIG_DFL); signal(SIGABRT,SIG_DFL); //
> prevent loops - default handlers
>                        cerr<<"SIGSEGV/SIGABRT handler called; gdb batch
> file is `"<<Omega::instance().gdbCrashBatch<<"'"<<endl;
> -                       std::system((string("gdb -x
> ")+Omega::instance().gdbCrashBatch).c_str());
> +                       int res=std::system((string("gdb -x
> ")+Omega::instance().gdbCrashBatch).c_str());
>                        unlink(Omega::instance().gdbCrashBatch.c_str()); //
> delete the crash batch file
>                        raise(sig); // reemit signal after exiting gdb
>                        break;
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~yade-dev<https://launchpad.net/%7Eyade-dev>
> Post to     : yade-dev@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~yade-dev<https://launchpad.net/%7Eyade-dev>
> More help   : https://help.launchpad.net/ListHelp
>

Follow ups

References