Hi Bill and Steve,

I came across a problem after downloading r7295.   Compile errror in normrnd.c 
because rand_s being an undefined symbol.

—
#elif __APPLE__
        // Mac OS, not sure if this is covered by __posix__ and/or __unix__ 
though...
#endif

#define rand_s(x) (*x)=(unsigned int)lrand48()  // returns unsigned integers in 
the range 0..0x7FFFFFFF
#define K_RAND_MAX 0x7FFFFFFF              // that's the max number generated 
by lrand48
—

I added the last two lines above in normrnd.c to get over the problem.    I 
can’t be certain what has changed (until recent upgrade of Xcode).    What 
should be in place at this point for __APPLE__?

— John G4KLA  
------------------------------------------------------------------------------
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today. http://sdm.link/xeonphi
_______________________________________________
wsjt-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wsjt-devel

Reply via email to