Re: (Source Code Download) Re: Fast pi program?



On Aug 28, 9:37 pm, Ben Pfaff <b...@xxxxxxxxxxxxxxx> wrote:
user923005 <dcor...@xxxxxxxxx> writes:
pib26.c: In function 'PIB26_WriteComputationInfo':
pib26.c:305: warning: implicit declaration of function 'gmtime_r'
pib26.c:306: warning: implicit declaration of function 'asctime_r'
[...]
I guess that you used some custom time library. Might be nice to say
what it was in a readme file or something like that.

gmtime_r and asctime_r are in SUSv3. They are thread-safe
versions of gmtime and asctime.
--
Ben Pfaffhttp://benpfaff.org

Mmm. Looks like regular "gmtime" and "asctime" are available
without a special library. Should've used 'em. Darn...

Anyway, I'm still wondering what kind of optimizations can
be made to this program...

.



Relevant Pages