RE: question on using random in C on FC4 (perhaps slightly OT)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




> -----Original Message-----
> From: fedora-list-bounces@xxxxxxxxxx
> [mailto:fedora-list-bounces@xxxxxxxxxx]On Behalf Of Mike McCarty
> Sent: Wednesday, November 16, 2005 12:11 PM
> To: For users of Fedora Core releases
> Subject: Re: question on using random in C on FC4 (perhaps 
> slightly OT)
> 
> 
> STYMA, ROBERT E (ROBERT) wrote:
> 
> [snip]
> 
> > You can test which preprocessor variables are defined by
> > default with:
> > 
> > cpp -dM < /dev/null
> 
> 
> Hmm...
> 
> $ cpp -dM < /dev/null
> #line 1 "<stdin>"
> : illegal option -- d
> 
Hi Mike,
   I don't know why you got the result you show.
I get the following on my FC3 machine.
I also tested on AIX 4.2, FC4, and Solaris 9 and
got appropriate output.  my copy of cpp is from /usr/bin/cpp

$: uname -r
2.6.12-1.1376_FC3
$: cpp -dN < /dev/null
# 1 "<stdin>"
# 1 "<built-in>"
#define __STDC_HOSTED__
#define __GNUC__
#define __GNUC_MINOR__
#define __GNUC_PATCHLEVEL__
#define __GNUC_RH_RELEASE__
#define __SIZE_TYPE__
#define __PTRDIFF_TYPE__
#define __WCHAR_TYPE__
#define __WINT_TYPE__
#define __GXX_ABI_VERSION
#define __SCHAR_MAX__
#define __SHRT_MAX__
#define __INT_MAX__
#define __LONG_MAX__
#define __LONG_LONG_MAX__
#define __WCHAR_MAX__
#define __CHAR_BIT__
#define __FLT_EVAL_METHOD__
#define __FLT_RADIX__
#define __FLT_MANT_DIG__
#define __FLT_DIG__
#define __FLT_MIN_EXP__
#define __FLT_MIN_10_EXP__
#define __FLT_MAX_EXP__
#define __FLT_MAX_10_EXP__
#define __FLT_MAX__
#define __FLT_MIN__
#define __FLT_EPSILON__
#define __FLT_DENORM_MIN__
#define __FLT_HAS_INFINITY__
#define __FLT_HAS_QUIET_NAN__
#define __DBL_MANT_DIG__
#define __DBL_DIG__
#define __DBL_MIN_EXP__
#define __DBL_MIN_10_EXP__
#define __DBL_MAX_EXP__
#define __DBL_MAX_10_EXP__
#define __DBL_MAX__
#define __DBL_MIN__
#define __DBL_EPSILON__
#define __DBL_DENORM_MIN__
#define __DBL_HAS_INFINITY__
#define __DBL_HAS_QUIET_NAN__
#define __LDBL_MANT_DIG__
#define __LDBL_DIG__
#define __LDBL_MIN_EXP__
#define __LDBL_MIN_10_EXP__
#define __LDBL_MAX_EXP__
#define __LDBL_MAX_10_EXP__
#define __DECIMAL_DIG__
#define __LDBL_MAX__
#define __LDBL_MIN__
#define __LDBL_EPSILON__
#define __LDBL_DENORM_MIN__
#define __LDBL_HAS_INFINITY__
#define __LDBL_HAS_QUIET_NAN__
#define __REGISTER_PREFIX__
#define __USER_LABEL_PREFIX__
#define __VERSION__
#define __NO_INLINE__
#define __FINITE_MATH_ONLY__


#define __i386
#define __i386__
#define i386
#define __tune_i386__
#define __gnu_linux__
#define __linux
#define __linux__
#define linux
#define __unix
#define __unix__
#define unix



#define __ELF__
# 1 "<command line>"
# 1 "<stdin>"


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux