9 Sep
2010
9 Sep
'10
5:02 p.m.
Hello Alexei, 1. 2. 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 #endif
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 Best regards, Jan