[GiNaC-devel] Patch 4
jrheinlaender at gmx.de
Thu Sep 9 17:02:00 CEST 2010
I agree with you.
> > 3. MSVC does not have __alignof__
> However it does have __alignof. Please put the following into ginac/compiler.h
> #ifdef MSVC // or whatever it is
> #define __alignof__ __alingof
if we use the AC_CHECK_ALIGNOF method, wouldn't that have the advantage
that any future changes in MSVC behaviour (or any other compiler) would
be dealt with by the autoconf maintainers? Otherwise someone would have
to change compiler.h manually every time.
for __func__, since there is no pre-defined autoconf macro anyway, we
might as well use compiler.h
FYI: The macro is _MSC_VER
More information about the GiNaC-devel