[GiNaC-devel] Patch 4

Jan private jrheinlaender at gmx.de
Fri Sep 10 05:38:25 CEST 2010


Hello Alexei,

OK, so using compiler.h the patch reduces to a fourliner in that file
because compiler.h is being included in all the concerned files
(parse_binop_rhs.cpp, parser.cpp) already anyway.

The sizeof() problem miraculously disappeared...

Problem: 
1. MSVC does not have __func__, but has __FUNCTION__
2. MSVC does not have __alignof__, but has __alignof

Solution: 
Added #defines to compiler.h


-------------- next part --------------
A non-text attachment was scrubbed...
Name: compiler.h.patch
Type: text/x-patch
Size: 290 bytes
Desc: not available
URL: <http://www.ginac.de/pipermail/ginac-devel/attachments/20100910/a320991e/attachment.bin>


More information about the GiNaC-devel mailing list