autoconf
[Top][All Lists]
Advanced

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

Re: Overloaded Function Checks


From: Guido Draheim
Subject: Re: Overloaded Function Checks
Date: Fri, 16 Mar 2007 02:22:40 +0100
User-agent: Thunderbird 1.5.0.10 (X11/20060911)

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
> address@hidden
> http://lists.gnu.org/mailman/listinfo/autoconf
> 





reply via email to

[Prev in Thread] Current Thread [Next in Thread]