Confirmation my method is right.

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

 



I have a header file (it's /usr/include/float.h) of an AIX system, which should contain:

typedef unsigned short fprnd_t;

but for some reason this, and a few other things seem to be undefined when gcc gets around to parsing it (I think it might be a gcc bug).

This problem comes from compiling the GNU Scientific Library on AIX, where the GSL developers say that gcc's float.h is being used in preference to the IBM's float.h, and whilst the system's float.h has this declaration, the gcc one does not.

typedef unsigned short fprnd_t;


To check if fprnd_t is defined or not, can you confirm.


1) I need to add to configure.ac

AC_CHECK_DECLS(fprnd_t,,,[#include <float.h>])


2) I need to add in a C file which will need this declaration.

#infdef HAVE_DECL_FPRND_T
typedef unsigned short fprnd_t;
#endif



Dave

_______________________________________________
Autoconf mailing list
Autoconf@xxxxxxx
http://lists.gnu.org/mailman/listinfo/autoconf


[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux