Re: Overloaded Function Checks

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

 



Eric Lemings schrieb:
> Hi,
>  
> I want to write an Autoconf macro that checks for overloaded functions
> in C++ (assuming of course all basic C++ configuration checks have been
> done).  For example, does the C++ compiler support function calls to
> abs() in <math.h> or <cmath> for all integer types ranging from 'bool'
> up to 'unsigned long long'?

If it's just for integers then it should be easy to implement. Instatiate a variable and try.

> 
> I couldn't find such a macro in the latest Autoconf distribution or the
> Autoconf macro archive.  Any help would be appreciated.

But you could take the check for a C++ overloaded function as library export for a reference. Hope you did find it in the archive, see http://ac-archive.sourceforge.net/guidod/ax_cxx_check_lib.html

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



_______________________________________________
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