Message boards :
Number crunching :
[client source] Possible reason for coredump
Message board moderation
Author | Message |
---|---|
joe Send message Joined: 13 Mar 03 Posts: 112 Credit: 497,631 RAC: 0 |
I just found this in client_state.C, garbage_collect() : if (wup->avp && wup->avp->had_failure(failnum)) I'm more familiar with C that with C++. In C, short circuit evaluation is an optional optimization - usually "on" by default but still optional. So if avp doesn't exist it still might be curious about the return value of avp->had_failure() |
John McLeod VII Send message Joined: 15 Jul 99 Posts: 24806 Credit: 790,712 RAC: 0 |
In K&R C, short circuit is not optional, it is part of the language definition. Which compiler made that optional? BOINC WIKI |
joe Send message Joined: 13 Mar 03 Posts: 112 Credit: 497,631 RAC: 0 |
> In K&R C, short circuit is not optional, it is part of the language > definition. Which compiler made that optional? I will try to find it out - it had to be switched off by an option or pragma, it was on by default of course. Might have been Watcom or Lattice where I saw that, not a *ix compiler I think. edit: I don't have that old Lattice anymore, will check Watcom on Monday edit2 : Stupid me *blush* I found where I had this option - it was TP for DOS (Pascal) - sorry for posting nonsense here :-/ |
joe Send message Joined: 13 Mar 03 Posts: 112 Credit: 497,631 RAC: 0 |
> i just downloaded the source for the client > > ... > fatal error C1083: Cannot open include file: 'std_fixes.h': No such file or > directory > > downloaded file was > > seti_boinc-client-cvs-2004-10-23 > ... I think this file needs to be taken from the BOINC core project and isn't part of the SETI project client. http://boinc.berkeley.edu/source/nightly/ |
©2024 University of California
SETI@home and Astropulse are funded by grants from the National Science Foundation, NASA, and donations from SETI@home volunteers. AstroPulse is funded in part by the NSF through grant AST-0307956.