[GiNaC-devel] Patch 4

Jan Rheinländer jrheinlaender at gmx.de
Thu Sep 9 15:05:40 CEST 2010


MSVC unknown functions/symbols

Problem: 
1. MSVC does not know __func__
2. MSVC does not like sizeof(void*) 
3. MSVC does not have __alignof__

Solution: 
1. a) Put AC_CPP_FUNC in acinclude.m4
   b) Added check to configure.ac
   c) Changed parser/debug.h

2. a) Added AC_CHECK_SIZEOF(void*) to configure.ac
   b) Changed polynomial/primes_factory.h

3. a) Added AC_CHECK_ALIGNOF(void*) to configure.ac
   b) Changed polynomial/primes_factory.h


-------------- next part --------------
A non-text attachment was scrubbed...
Name: acinclude.m4.patch
Type: text/x-patch
Size: 1149 bytes
Desc: not available
URL: <http://www.ginac.de/pipermail/ginac-devel/attachments/20100909/7945bb4d/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: configure.ac.patch
Type: text/x-patch
Size: 383 bytes
Desc: not available
URL: <http://www.ginac.de/pipermail/ginac-devel/attachments/20100909/7945bb4d/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: debug.h.patch
Type: text/x-patch
Size: 270 bytes
Desc: not available
URL: <http://www.ginac.de/pipermail/ginac-devel/attachments/20100909/7945bb4d/attachment-0002.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: primes_factory.h.patch
Type: text/x-patch
Size: 621 bytes
Desc: not available
URL: <http://www.ginac.de/pipermail/ginac-devel/attachments/20100909/7945bb4d/attachment-0003.bin>


More information about the GiNaC-devel mailing list