[TIP] Using tox with gmpy

Aaron Meurer asmeurer at gmail.com
Sun Jun 12 10:15:51 PDT 2011


Then where's the discrepancy on my machine?  As you can see in my OP,
pip lists the version of gmpy as 1.11rc1.  Clearly either pip is lying
to me, or tox is using something other than pip.

I didn't know about the version syntax.  I will see if that works.

Aaron Meurer

On Sun, Jun 12, 2011 at 3:10 AM, holger krekel <holger at merlinux.eu> wrote:
> Hi Aaron,
>
> if i do "pip install gmpy" it also tries to install "gmpy2".
> Not sure but maybe the download spec of gmpy goes to the
> google code page and then finds gmpy2?
>
> You may try "deps = gmpy==1.14" or "gmps < 2.0" or so
> to avoid the pip/install mechanism pick the newer one.
>
> holger
>
> On Fri, Jun 10, 2011 at 18:04 -0600, Aaron Meurer wrote:
>> Hi.
>>
>> First, I figured out that if I use "deps =
>> http://gmpy.googlecode.com/files/gmpy-1.14.zip" it works.  Well, sort
>> of.  It works for those Python executables that already have gmpy
>> installed, but doesn't even appear to try to install it for those that
>> don't.  All of my Python executables would have gmpy installed if I
>> could get it to compile, so this is actually about as good as I can
>> hope for (I don't really have any hope for tox installing gmpy for
>> those ones that I can't get it to work with).  I can attach the output
>> for when I use "deps = http://gmpy.googlecode.com/files/gmpy-1.14.zip"
>> if you are interested.
>>
>> But to help you debug "deps = gmpy", I have created a tox.ini.test
>> file, and ran
>>
>> $tox -c tox.ini.test >| gmpy_problems.txt
>>
>> Both files have been attached.  The compilation errors are what I
>> would get if I tried installing gmpy2 manually (I think my GMP
>> installation is messed up or something).  The issue here is not those,
>> but the fact that it tries installing gmpy2 instead of gmpy1.
>>
>> Aaron Meurer
>>
>> On Fri, Jun 10, 2011 at 1:01 AM, holger krekel <holger at merlinux.eu> wrote:
>> > Hi Aaron,
>> >
>> > can you post a screen trace of a "tox -v" invocation and
>> > maybe the contents of your tox.ini file?
>> >
>> > best,
>> > holger
>> >
>> > On Thu, Jun 09, 2011 at 22:46 -0600, Aaron S. Meurer wrote:
>> >> Hi.  I'm kind of new to tox.  Sorry if this has been discussed before.  As far as I can tell, mailman doesn't have a search feature.
>> >>
>> >> I'm trying to use it to test with the dependency gmpy 1.14, but if I add "deps=gmpy" it tries installing gmpy2, which fails.  I understood from http://tox.testrun.org/en/latest/config.html#confval-deps=MULTI-LINE-LIST that it uses easy_install/pip (it's not really clear here which) to install these, but I checked and I get
>> >>
>> >> $pip search gmpy
>> >> gmpy                      - MPIR/GMP interface to Python 2.4+ and 3.x
>> >>   INSTALLED: 1.14
>> >>   LATEST:    1.11rc1
>> >>
>> >> $sudo easy_install --dry-run gmpy
>> >> Password:
>> >> Searching for gmpy
>> >> Best match: gmpy 1.14
>> >> Adding gmpy 1.14 to easy-install.pth file
>> >>
>> >> Using /sw/lib/python2.7/site-packages
>> >> Processing dependencies for gmpy
>> >> Finished processing dependencies for gmpy
>> >>
>> >> So why would it try using gmpy2?  And more importantly, how do I make it use gmpy 1.14?  I can attach my tox logs if that would help.
>> >>
>> >> Aaron Meurer
>> >> _______________________________________________
>> >> testing-in-python mailing list
>> >> testing-in-python at lists.idyll.org
>> >> http://lists.idyll.org/listinfo/testing-in-python
>> >>
>> >
>
>> _________________________________ [tox sdist] __________________________________
>> [TOX] ***creating sdist package
>> [TOX] /Users/aaronmeurer/Documents/python/sympy/sympy$ /usr/bin/python setup.py sdist --formats=zip --dist-dir .tox/dist >.tox/log/0.log
>> [TOX] ***copying new sdistfile to '/Users/aaronmeurer/.tox/distshare/sympy-0.6.7-git.zip'
>> ___________________________ [tox testenv:py25-gmpy] ____________________________
>> [TOX] ***creating virtualenv py25-gmpy
>> [TOX] /Users/aaronmeurer/Documents/python/sympy/sympy/.tox$ virtualenv --distribute --no-site-packages -p /Library/Frameworks/Python.framework/Versions/2.5/bin/python2.5 py25-gmpy >py25-gmpy/log/0.log
>> [TOX] ***installing dependencies: gmpy
>> [TOX] /Users/aaronmeurer/Documents/python/sympy/sympy/.tox/py25-gmpy/log$ ../bin/pip install --download-cache=/Users/aaronmeurer/Documents/python/sympy/sympy/.tox/_download gmpy >1.log
>> [TOX] ERROR: invocation failed, logfile: /Users/aaronmeurer/Documents/python/sympy/sympy/.tox/py25-gmpy/log/1.log
>> [TOX] ERROR: /Users/aaronmeurer/Documents/python/sympy/sympy/.tox/py25-gmpy/log$ ../bin/pip install --download-cache=/Users/aaronmeurer/Documents/python/sympy/sympy/.tox/_download gmpy >1.log
>> Downloading/unpacking gmpy
>>   Using download cache from /Users/aaronmeurer/Documents/python/sympy/sympy/.tox/_download/http%3A%2F%2Fgmpy.googlecode.com%2Ffiles%2Fgmpy2-2.0.0a2.zip
>>   Running setup.py egg_info for package gmpy
>>     GMPY2 requires Python 2.6 or later.
>>     Please use GMPY 1.x for earlier versions of Python.
>> No files/directores in /Users/aaronmeurer/Documents/python/sympy/sympy/.tox/py25-gmpy/build/gmpy/pip-egg-info (from dependency_links.txt)
>> Storing complete log in /Users/aaronmeurer/.pip/pip.log
>>
>> [TOX] ERROR: could not install deps [gmpy]
>> ___________________________ [tox testenv:py27-gmpy] ____________________________
>> [TOX] ***creating virtualenv py27-gmpy
>> [TOX] /Users/aaronmeurer/Documents/python/sympy/sympy/.tox$ virtualenv --distribute --no-site-packages -p /Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7 py27-gmpy >py27-gmpy/log/0.log
>> [TOX] ***installing dependencies: gmpy
>> [TOX] /Users/aaronmeurer/Documents/python/sympy/sympy/.tox/py27-gmpy/log$ ../bin/pip install --download-cache=/Users/aaronmeurer/Documents/python/sympy/sympy/.tox/_download gmpy >1.log
>> [TOX] ERROR: invocation failed, logfile: /Users/aaronmeurer/Documents/python/sympy/sympy/.tox/py27-gmpy/log/1.log
>> [TOX] ERROR: /Users/aaronmeurer/Documents/python/sympy/sympy/.tox/py27-gmpy/log$ ../bin/pip install --download-cache=/Users/aaronmeurer/Documents/python/sympy/sympy/.tox/_download gmpy >1.log
>> Downloading/unpacking gmpy
>>   Using download cache from /Users/aaronmeurer/Documents/python/sympy/sympy/.tox/_download/http%3A%2F%2Fgmpy.googlecode.com%2Ffiles%2Fgmpy2-2.0.0a2.zip
>>   Running setup.py egg_info for package gmpy
>>
>> Installing collected packages: gmpy
>>   Running setup.py install for gmpy
>>     building 'gmpy2' extension
>>     gcc-4.0 -fno-strict-aliasing -fno-common -dynamic -isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch ppc -arch i386 -g -O2 -DNDEBUG -g -O3 -DWITHMPFR=1 -DNOMPC=1 -I/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c src/gmpy2.c -o build/temp.macosx-10.3-fat-2.7/src/gmpy2.o
>>     In file included from src/gmpy2.c:291:
>>     src/gmpy.h:78:19: error: gmp.h: No such file or directory
>>     In file included from src/gmpy2.c:291:
>>     src/gmpy.h:90: error: syntax error before ‘mpz_t’
>>     src/gmpy.h:90: warning: no semicolon at end of struct or union
>>     src/gmpy.h:92: error: syntax error before ‘}’ token
>>     src/gmpy.h:92: warning: data definition has no type or storage class
>>     src/gmpy.h:96: error: syntax error before ‘mpq_t’
>>     src/gmpy.h:96: warning: no semicolon at end of struct or union
>>     src/gmpy.h:98: error: syntax error before ‘}’ token
>>     src/gmpy.h:98: warning: data definition has no type or storage class
>>     src/gmpy.h:102: error: syntax error before ‘mpz_t’
>>     src/gmpy.h:102: warning: no semicolon at end of struct or union
>>     src/gmpy.h:103: warning: data definition has no type or storage class
>>     src/gmpy.h:106:20: error: mpfr.h: No such file or directory
>>     In file included from src/gmpy.h:107,
>>                      from src/gmpy2.c:291:
>>     src/gmpy_mpfr.h:46: error: syntax error before ‘mpfr_t’
>>     src/gmpy_mpfr.h:46: warning: no semicolon at end of struct or union
>>     src/gmpy_mpfr.h:50: error: syntax error before ‘}’ token
>>     src/gmpy_mpfr.h:50: warning: data definition has no type or storage class
>>     src/gmpy_mpfr.h:163: error: syntax error before ‘*’ token
>>     src/gmpy_mpfr.h:165: error: syntax error before ‘*’ token
>>     src/gmpy_mpfr.h:165: error: syntax error before ‘mpfr_prec_t’
>>     src/gmpy_mpfr.h:165: warning: data definition has no type or storage class
>>     src/gmpy_mpfr.h:166: error: syntax error before ‘*’ token
>>     src/gmpy_mpfr.h:166: warning: data definition has no type or storage class
>>     src/gmpy_mpfr.h:167: error: syntax error before ‘*’ token
>>     src/gmpy_mpfr.h:167: warning: data definition has no type or storage class
>>     src/gmpy_mpfr.h:168: error: syntax error before ‘*’ token
>>     src/gmpy_mpfr.h:168: warning: data definition has no type or storage class
>>     src/gmpy_mpfr.h:169: error: syntax error before ‘*’ token
>>     src/gmpy_mpfr.h:169: error: syntax error before ‘mpfr_prec_t’
>>     src/gmpy_mpfr.h:169: warning: data definition has no type or storage class
>>     In file included from src/gmpy2.c:291:
>>     src/gmpy.h:203: error: syntax error before ‘mpfr_prec_t’
>>     src/gmpy.h:203: warning: no semicolon at end of struct or union
>>     src/gmpy.h:208: warning: data definition has no type or storage class
>>     src/gmpy.h:214: error: syntax error before ‘emax’
>>     src/gmpy.h:214: warning: data definition has no type or storage class
>>     src/gmpy.h:215: error: syntax error before ‘emin’
>>     src/gmpy.h:215: warning: data definition has no type or storage class
>>     src/gmpy.h:228: error: syntax error before ‘}’ token
>>     src/gmpy.h:228: warning: data definition has no type or storage class
>>     src/gmpy.h:232: error: syntax error before ‘gmpy_context’
>>     src/gmpy.h:232: warning: no semicolon at end of struct or union
>>     src/gmpy.h:234: error: syntax error before ‘}’ token
>>     src/gmpy.h:234: warning: data definition has no type or storage class
>>     src/gmpy2.c:373: error: syntax error before ‘*’ token
>>     src/gmpy2.c:373: warning: data definition has no type or storage class
>>     In file included from src/gmpy2.c:404:
>>     src/mpz_pylong.c:21:2: error: #error "Python limb larger than GMP limb !!!"
>>     In file included from src/gmpy2.c:404:
>>     src/mpz_pylong.c:48: error: syntax error before ‘up’
>>     src/mpz_pylong.c: In function ‘mpn_sizebits’:
>>     src/mpz_pylong.c:50: error: ‘mp_limb_t’ undeclared (first use in this function)
>>     src/mpz_pylong.c:50: error: (Each undeclared identifier is reported only once
>>     src/mpz_pylong.c:50: error: for each function it appears in.)
>>     src/mpz_pylong.c:50: error: syntax error before ‘x’
>>     src/mpz_pylong.c:51: error: ‘un’ undeclared (first use in this function)
>>     src/mpz_pylong.c:52: error: ‘GMP_NUMB_BITS’ undeclared (first use in this function)
>>     src/mpz_pylong.c:53: error: ‘x’ undeclared (first use in this function)
>>     src/mpz_pylong.c:53: error: ‘up’ undeclared (first use in this function)
>>     src/mpz_pylong.c: At top level:
>>     src/mpz_pylong.c:89: error: syntax error before ‘up’
>>     src/mpz_pylong.c: In function ‘mpn_pylong_size’:
>>     src/mpz_pylong.c:91: error: ‘up’ undeclared (first use in this function)
>>     src/mpz_pylong.c:91: error: ‘un’ undeclared (first use in this function)
>>     src/mpz_pylong.c: At top level:
>>     src/mpz_pylong.c:100: error: syntax error before ‘mp_ptr’
>>     src/mpz_pylong.c: In function ‘mpn_get_pylong’:
>>     src/mpz_pylong.c:102: error: ‘mp_limb_t’ undeclared (first use in this function)
>>     src/mpz_pylong.c:102: error: syntax error before ‘n1’
>>     src/mpz_pylong.c:106: error: ‘digits’ undeclared (first use in this function)
>>     src/mpz_pylong.c:106: error: ‘size’ undeclared (first use in this function)
>>     src/mpz_pylong.c:109: error: ‘un’ undeclared (first use in this function)
>>     src/mpz_pylong.c:115: error: ‘n1’ undeclared (first use in this function)
>>     src/mpz_pylong.c:115: error: ‘up’ undeclared (first use in this function)
>>     src/mpz_pylong.c:116: error: ‘GMP_NUMB_BITS’ undeclared (first use in this function)
>>     src/mpz_pylong.c:128: error: ‘n0’ undeclared (first use in this function)
>>     src/mpz_pylong.c: In function ‘mpn_size_from_pylong’:
>>     src/mpz_pylong.c:140: error: ‘GMP_NUMB_BITS’ undeclared (first use in this function)
>>     src/mpz_pylong.c: At top level:
>>     src/mpz_pylong.c:144: error: syntax error before ‘up’
>>     src/mpz_pylong.c: In function ‘mpn_set_pylong’:
>>     src/mpz_pylong.c:146: error: ‘mp_limb_t’ undeclared (first use in this function)
>>     src/mpz_pylong.c:146: error: syntax error before ‘n1’
>>     src/mpz_pylong.c:150: error: ‘digits’ undeclared (first use in this function)
>>     src/mpz_pylong.c:150: error: ‘size’ undeclared (first use in this function)
>>     src/mpz_pylong.c:154: error: ‘un’ undeclared (first use in this function)
>>     src/mpz_pylong.c:154: error: ‘up’ undeclared (first use in this function)
>>     src/mpz_pylong.c:159: error: ‘n1’ undeclared (first use in this function)
>>     src/mpz_pylong.c:160: error: ‘GMP_NUMB_BITS’ undeclared (first use in this function)
>>     src/mpz_pylong.c:167: error: ‘d’ undeclared (first use in this function)
>>     src/mpz_pylong.c:168: error: ‘GMP_NUMB_MASK’ undeclared (first use in this function)
>>     src/mpz_pylong.c: At top level:
>>     src/mpz_pylong.c:194: error: syntax error before ‘up’
>>     src/mpz_pylong.c: In function ‘mpn_pythonhash’:
>>     src/mpz_pylong.c:196: error: ‘mp_limb_t’ undeclared (first use in this function)
>>     src/mpz_pylong.c:196: error: syntax error before ‘n1’
>>     src/mpz_pylong.c:197: error: ‘mp_size_t’ undeclared (first use in this function)
>>     src/mpz_pylong.c:202: error: ‘un’ undeclared (first use in this function)
>>     src/mpz_pylong.c:204: error: ‘i’ undeclared (first use in this function)
>>     src/mpz_pylong.c:205: error: ‘n1’ undeclared (first use in this function)
>>     src/mpz_pylong.c:205: error: ‘up’ undeclared (first use in this function)
>>     src/mpz_pylong.c:213: error: ‘GMP_NUMB_BITS’ undeclared (first use in this function)
>>     src/mpz_pylong.c:232: error: ‘n0’ undeclared (first use in this function)
>>     src/mpz_pylong.c: At top level:
>>     src/mpz_pylong.c:247: error: syntax error before ‘z’
>>     src/mpz_pylong.c: In function ‘mpz_pythonhash’:
>>     src/mpz_pylong.c:249: error: ‘z’ undeclared (first use in this function)
>>     src/mpz_pylong.c: At top level:
>>     src/mpz_pylong.c:259: error: syntax error before ‘z’
>>     src/mpz_pylong.c: In function ‘mpz_get_PyLong’:
>>     src/mpz_pylong.c:261: error: ‘z’ undeclared (first use in this function)
>>     src/mpz_pylong.c: At top level:
>>     src/mpz_pylong.c:276: error: syntax error before ‘z’
>>     src/mpz_pylong.c: In function ‘mpz_set_PyLong’:
>>     src/mpz_pylong.c:278: error: ‘lsrc’ undeclared (first use in this function)
>>     src/mpz_pylong.c:284: error: ‘z’ undeclared (first use in this function)
>>     src/mpz_pylong.c:297: error: ‘mp_size_t’ undeclared (first use in this function)
>>     src/mpz_pylong.c:297: error: syntax error before ‘size’
>>     In file included from src/gmpy2.c:408:
>>     src/gmpy_cache.c: At top level:
>>     src/gmpy_cache.c:40: error: syntax error before ‘*’ token
>>     src/gmpy_cache.c:40: warning: data definition has no type or storage class
>>     src/gmpy_cache.c: In function ‘set_zcache’:
>>     src/gmpy_cache.c:53: error: ‘mpz_t’ undeclared (first use in this function)
>>     src/gmpy_cache.c: At top level:
>>     src/gmpy_cache.c:57: error: syntax error before ‘newo’
>>     src/gmpy_cache.c: In function ‘mpz_inoc’:
>>     src/gmpy_cache.c:64: error: ‘newo’ undeclared (first use in this function)
>>     src/gmpy_cache.c:64: error: subscripted value is neither array nor pointer
>>     src/gmpy_cache.c: At top level:
>>     src/gmpy_cache.c:73: error: syntax error before ‘oldo’
>>     src/gmpy_cache.c: In function ‘mpz_cloc’:
>>     src/gmpy_cache.c:75: error: ‘oldo’ undeclared (first use in this function)
>>     src/gmpy_cache.c:76: error: subscripted value is neither array nor pointer
>>     src/gmpy_cache.c: At top level:
>>     src/gmpy_cache.c:94: error: syntax error before ‘*’ token
>>     src/gmpy_cache.c:94: warning: data definition has no type or storage class
>>     src/gmpy_cache.c: In function ‘set_pympzcache’:
>>     src/gmpy_cache.c:104: error: request for member ‘z’ in something not a structure or union
>>     src/gmpy_cache.c: At top level:
>>     src/gmpy_cache.c:112: error: syntax error before ‘*’ token
>>     src/gmpy_cache.c: In function ‘Pympz_new’:
>>     src/gmpy_cache.c:115: error: ‘self’ undeclared (first use in this function)
>>     src/gmpy_cache.c:127: error: syntax error before ‘)’ token
>>     src/gmpy_cache.c:127: error: syntax error before ‘)’ token
>>     src/gmpy_cache.c: At top level:
>>     src/gmpy_cache.c:136: error: syntax error before ‘*’ token
>>     src/gmpy_cache.c: In function ‘Pympz_dealloc’:
>>     src/gmpy_cache.c:140: error: ‘self’ undeclared (first use in this function)
>>     src/gmpy_cache.c: At top level:
>>     src/gmpy_cache.c:151: error: syntax error before ‘*’ token
>>     src/gmpy_cache.c:151: warning: data definition has no type or storage class
>>     src/gmpy_cache.c: In function ‘set_pyxmpzcache’:
>>     src/gmpy_cache.c:161: error: request for member ‘z’ in something not a structure or union
>>     src/gmpy_cache.c: At top level:
>>     src/gmpy_cache.c:169: error: syntax error before ‘*’ token
>>     src/gmpy_cache.c: In function ‘Pyxmpz_new’:
>>     src/gmpy_cache.c:172: error: ‘self’ undeclared (first use in this function)
>>     src/gmpy_cache.c:184: error: syntax error before ‘)’ token
>>     src/gmpy_cache.c:184: error: syntax error before ‘)’ token
>>     src/gmpy_cache.c: At top level:
>>     src/gmpy_cache.c:192: error: syntax error before ‘*’ token
>>     src/gmpy_cache.c: In function ‘Pyxmpz_dealloc’:
>>     src/gmpy_cache.c:196: error: ‘self’ undeclared (first use in this function)
>>     src/gmpy_cache.c: At top level:
>>     src/gmpy_cache.c:207: error: syntax error before ‘*’ token
>>     src/gmpy_cache.c:207: warning: data definition has no type or storage class
>>     src/gmpy_cache.c: In function ‘set_pympqcache’:
>>     src/gmpy_cache.c:217: error: request for member ‘q’ in something not a structure or union
>>     src/gmpy_cache.c: At top level:
>>     src/gmpy_cache.c:225: error: syntax error before ‘*’ token
>>     src/gmpy_cache.c: In function ‘Pympq_new’:
>>     src/gmpy_cache.c:228: error: ‘self’ undeclared (first use in this function)
>>     src/gmpy_cache.c:240: error: syntax error before ‘)’ token
>>     src/gmpy_cache.c:240: error: syntax error before ‘)’ token
>>     src/gmpy_cache.c: At top level:
>>     src/gmpy_cache.c:249: error: syntax error before ‘*’ token
>>     src/gmpy_cache.c: In function ‘Pympq_dealloc’:
>>     src/gmpy_cache.c:253: error: ‘self’ undeclared (first use in this function)
>>     src/gmpy_cache.c:253: error: invalid type argument of ‘->’
>>     In file included from src/gmpy2.c:291:
>>     src/gmpy.h:78:19: error: gmp.h: No such file or directory
>>     In file included from src/gmpy2.c:291:
>>     src/gmpy.h:90: error: syntax error before ‘mpz_t’
>>     src/gmpy.h:90: warning: no semicolon at end of struct or union
>>     src/gmpy.h:92: error: syntax error before ‘}’ token
>>     src/gmpy.h:92: warning: data definition has no type or storage class
>>     src/gmpy.h:96: error: syntax error before ‘mpq_t’
>>     src/gmpy.h:96: warning: no semicolon at end of struct or union
>>     src/gmpy.h:98: error: syntax error before ‘}’ token
>>     src/gmpy.h:98: warning: data definition has no type or storage class
>>     src/gmpy.h:102: error: syntax error before ‘mpz_t’
>>     src/gmpy.h:102: warning: no semicolon at end of struct or union
>>     src/gmpy.h:103: warning: data definition has no type or storage class
>>     src/gmpy.h:106:20: error: mpfr.h: No such file or directory
>>     In file included from src/gmpy.h:107,
>>                      from src/gmpy2.c:291:
>>     src/gmpy_mpfr.h:46: error: syntax error before ‘mpfr_t’
>>     src/gmpy_mpfr.h:46: warning: no semicolon at end of struct or union
>>     src/gmpy_mpfr.h:50: error: syntax error before ‘}’ token
>>     src/gmpy_mpfr.h:50: warning: data definition has no type or storage class
>>     src/gmpy_mpfr.h:163: error: syntax error before ‘*’ token
>>     src/gmpy_mpfr.h:165: error: syntax error before ‘*’ token
>>     src/gmpy_mpfr.h:165: error: syntax error before ‘mpfr_prec_t’
>>     src/gmpy_mpfr.h:165: warning: data definition has no type or storage class
>>     src/gmpy_mpfr.h:166: error: syntax error before ‘*’ token
>>     src/gmpy_mpfr.h:166: warning: data definition has no type or storage class
>>     src/gmpy_mpfr.h:167: error: syntax error before ‘*’ token
>>     src/gmpy_mpfr.h:167: warning: data definition has no type or storage class
>>     src/gmpy_mpfr.h:168: error: syntax error before ‘*’ token
>>     src/gmpy_mpfr.h:168: warning: data definition has no type or storage class
>>     src/gmpy_mpfr.h:169: error: syntax error before ‘*’ token
>>     src/gmpy_mpfr.h:169: error: syntax error before ‘mpfr_prec_t’
>>     src/gmpy_mpfr.h:169: warning: data definition has no type or storage class
>>     In file included from src/gmpy2.c:291:
>>     src/gmpy.h:203: error: syntax error before ‘mpfr_prec_t’
>>     src/gmpy.h:203: warning: no semicolon at end of struct or union
>>     src/gmpy.h:208: warning: data definition has no type or storage class
>>     src/gmpy.h:214: error: syntax error before ‘emax’
>>     src/gmpy.h:214: warning: data definition has no type or storage class
>>     src/gmpy.h:215: error: syntax error before ‘emin’
>>     src/gmpy.h:215: warning: data definition has no type or storage class
>>     src/gmpy.h:228: error: syntax error before ‘}’ token
>>     src/gmpy.h:228: warning: data definition has no type or storage class
>>     src/gmpy.h:232: error: syntax error before ‘gmpy_context’
>>     src/gmpy.h:232: warning: no semicolon at end of struct or union
>>     src/gmpy.h:234: error: syntax error before ‘}’ token
>>     src/gmpy.h:234: warning: data definition has no type or storage class
>>     src/gmpy2.c:373: error: syntax error before ‘*’ token
>>     src/gmpy2.c:373: warning: data definition has no type or storage class
>>     In file included from src/gmpy2.c:404:
>>     src/mpz_pylong.c:21:2: error: #error "Python limb larger than GMP limb !!!"
>>     In file included from src/gmpy2.c:404:
>>     src/mpz_pylong.c:48: error: syntax error before ‘up’
>>     src/mpz_pylong.c: In function ‘mpn_sizebits’:
>>     src/mpz_pylong.c:50: error: ‘mp_limb_t’ undeclared (first use in this function)
>>     src/mpz_pylong.c:50: error: (Each undeclared identifier is reported only once
>>     src/mpz_pylong.c:50: error: for each function it appears in.)
>>     src/mpz_pylong.c:50: error: syntax error before ‘x’
>>     src/mpz_pylong.c:51: error: ‘un’ undeclared (first use in this function)
>>     src/mpz_pylong.c:52: error: ‘GMP_NUMB_BITS’ undeclared (first use in this function)
>>     src/mpz_pylong.c:53: error: ‘x’ undeclared (first use in this function)
>>     src/mpz_pylong.c:53: error: ‘up’ undeclared (first use in this function)
>>     src/mpz_pylong.c: At top level:
>>     src/mpz_pylong.c:89: error: syntax error before ‘up’
>>     src/mpz_pylong.c: In function ‘mpn_pylong_size’:
>>     src/mpz_pylong.c:91: error: ‘up’ undeclared (first use in this function)
>>     src/mpz_pylong.c:91: error: ‘un’ undeclared (first use in this function)
>>     src/mpz_pylong.c: At top level:
>>     src/mpz_pylong.c:100: error: syntax error before ‘mp_ptr’
>>     src/mpz_pylong.c: In function ‘mpn_get_pylong’:
>>     src/mpz_pylong.c:102: error: ‘mp_limb_t’ undeclared (first use in this function)
>>     src/mpz_pylong.c:102: error: syntax error before ‘n1’
>>     src/mpz_pylong.c:106: error: ‘digits’ undeclared (first use in this function)
>>     src/mpz_pylong.c:106: error: ‘size’ undeclared (first use in this function)
>>     src/mpz_pylong.c:109: error: ‘un’ undeclared (first use in this function)
>>     src/gmpy_cache.c:254: error: invalid type argument of ‘->’
>>     src/mpz_pylong.c:115: error: ‘n1’ undeclared (first use in this function)
>>     src/mpz_pylong.c:115: error: ‘up’ undeclared (first use in this function)
>>     src/mpz_pylong.c:116: error: ‘GMP_NUMB_BITS’ undeclared (first use in this function)
>>     src/mpz_pylong.c:128: error: ‘n0’ undeclared (first use in this function)
>>     src/mpz_pylong.c: In function ‘mpn_size_from_pylong’:
>>     src/mpz_pylong.c:140: error: ‘GMP_NUMB_BITS’ undeclared (first use in this function)
>>     src/mpz_pylong.c: At top level:
>>     src/mpz_pylong.c:144: error: syntax error before ‘up’
>>     src/mpz_pylong.c: In function ‘mpn_set_pylong’:
>>     src/mpz_pylong.c:146: error: ‘mp_limb_t’ undeclared (first use in this function)
>>     src/mpz_pylong.c:146: error: syntax error before ‘n1’
>>     src/mpz_pylong.c:150: error: ‘digits’ undeclared (first use in this function)
>>     src/mpz_pylong.c:150: error: ‘size’ undeclared (first use in this function)
>>     src/mpz_pylong.c:154: error: ‘un’ undeclared (first use in this function)
>>     src/mpz_pylong.c:154: error: ‘up’ undeclared (first use in this function)
>>     src/mpz_pylong.c:159: error: ‘n1’ undeclared (first use in this function)
>>     src/mpz_pylong.c:160: error: ‘GMP_NUMB_BITS’ undeclared (first use in this function)
>>     src/mpz_pylong.c:167: error: ‘d’ undeclared (first use in this function)
>>     src/mpz_pylong.c:168: error: ‘GMP_NUMB_MASK’ undeclared (first use in this function)
>>     src/mpz_pylong.c: At top level:
>>     src/mpz_pylong.c:194: error: syntax error before ‘up’
>>     src/mpz_pylong.c: In function ‘mpn_pythonhash’:
>>     src/mpz_pylong.c:196: error: ‘mp_limb_t’ undeclared (first use in this function)
>>     src/mpz_pylong.c:196: error: syntax error before ‘n1’
>>     src/mpz_pylong.c:197: error: ‘mp_size_t’ undeclared (first use in this function)
>>     src/mpz_pylong.c:202: error: ‘un’ undeclared (first use in this function)
>>     src/mpz_pylong.c:204: error: ‘i’ undeclared (first use in this function)
>>     src/mpz_pylong.c:205: error: ‘n1’ undeclared (first use in this function)
>>     src/mpz_pylong.c:205: error: ‘up’ undeclared (first use in this function)
>>     src/mpz_pylong.c:213: error: ‘GMP_NUMB_BITS’ undeclared (first use in this function)
>>     src/mpz_pylong.c:232: error: ‘n0’ undeclared (first use in this function)
>>     src/mpz_pylong.c: At top level:
>>     src/mpz_pylong.c:247: error: syntax error before ‘z’
>>     src/mpz_pylong.c: In function ‘mpz_pythonhash’:
>>     src/mpz_pylong.c:249: error: ‘z’ undeclared (first use in this function)
>>     src/mpz_pylong.c: At top level:
>>     src/mpz_pylong.c:259: error: syntax error before ‘z’
>>     src/mpz_pylong.c: In function ‘mpz_get_PyLong’:
>>     src/mpz_pylong.c:261: error: ‘z’ undeclared (first use in this function)
>>     src/mpz_pylong.c: At top level:
>>     src/mpz_pylong.c:276: error: syntax error before ‘z’
>>     src/mpz_pylong.c: In function ‘mpz_set_PyLong’:
>>     src/mpz_pylong.c:278: error: ‘lsrc’ undeclared (first use in this function)
>>     src/mpz_pylong.c:284: error: ‘z’ undeclared (first use in this function)
>>     src/mpz_pylong.c:297: error: ‘mp_size_t’ undeclared (first use in this function)
>>     src/mpz_pylong.c:297: error: syntax error before ‘size’
>>     In file included from src/gmpy2.c:408:
>>     src/gmpy_cache.c: At top level:
>>     src/gmpy_cache.c:40: error: syntax error before ‘*’ token
>>     src/gmpy_cache.c:40: warning: data definition has no type or storage class
>>     src/gmpy_cache.c: In function ‘set_zcache’:
>>     src/gmpy_cache.c:53: error: ‘mpz_t’ undeclared (first use in this function)
>>     src/gmpy_cache.c: At top level:
>>     src/gmpy_cache.c:57: error: syntax error before ‘newo’
>>     src/gmpy_cache.c: In function ‘mpz_inoc’:
>>     src/gmpy_cache.c:64: error: ‘newo’ undeclared (first use in this function)
>>     src/gmpy_cache.c:64: error: subscripted value is neither array nor pointer
>>     src/gmpy_cache.c: At top level:
>>     src/gmpy_cache.c:73: error: syntax error before ‘oldo’
>>     src/gmpy_cache.c: In function ‘mpz_cloc’:
>>     src/gmpy_cache.c:75: error: ‘oldo’ undeclared (first use in this function)
>>     src/gmpy_cache.c:76: error: subscripted value is neither array nor pointer
>>     src/gmpy_cache.c: At top level:
>>     src/gmpy_cache.c:94: error: syntax error before ‘*’ token
>>     src/gmpy_cache.c:94: warning: data definition has no type or storage class
>>     src/gmpy_cache.c: In function ‘set_pympzcache’:
>>     src/gmpy_cache.c:104: error: request for member ‘z’ in something not a structure or union
>>     src/gmpy_cache.c: At top level:
>>     src/gmpy_cache.c:112: error: syntax error before ‘*’ token
>>     src/gmpy_cache.c: In function ‘Pympz_new’:
>>     src/gmpy_cache.c:115: error: ‘self’ undeclared (first use in this function)
>>     src/gmpy_cache.c:127: error: syntax error before ‘)’ token
>>     src/gmpy_cache.c:127: error: syntax error before ‘)’ token
>>     src/gmpy_cache.c: At top level:
>>     src/gmpy_cache.c:136: error: syntax error before ‘*’ token
>>     src/gmpy_cache.c: In function ‘Pympz_dealloc’:
>>     src/gmpy_cache.c:140: error: ‘self’ undeclared (first use in this function)
>>     src/gmpy_cache.c: At top level:
>>     src/gmpy_cache.c:151: error: syntax error before ‘*’ token
>>     src/gmpy_cache.c:151: warning: data definition has no type or storage class
>>     src/gmpy_cache.c: In function ‘set_pyxmpzcache’:
>>     src/gmpy_cache.c:161: error: request for member ‘z’ in something not a structure or union
>>     src/gmpy_cache.c: At top level:
>>     src/gmpy_cache.c:169: error: syntax error before ‘*’ token
>>     src/gmpy_cache.c: In function ‘Pyxmpz_new’:
>>     src/gmpy_cache.c:172: error: ‘self’ undeclared (first use in this function)
>>     src/gmpy_cache.c:184: error: syntax error before ‘)’ token
>>     src/gmpy_cache.c:184: error: syntax error before ‘)’ token
>>     src/gmpy_cache.c: At top level:
>>     src/gmpy_cache.c:192: error: syntax error before ‘*’ token
>>     src/gmpy_cache.c: In function ‘Pyxmpz_dealloc’:
>>     src/gmpy_cache.c:196: error: ‘self’ undeclared (first use in this function)
>>     src/gmpy_cache.c: At top level:
>>     src/gmpy_cache.c:207: error: syntax error before ‘*’ token
>>     src/gmpy_cache.c:207: warning: data definition has no type or storage class
>>     src/gmpy_cache.c: In function ‘set_pympqcache’:
>>     src/gmpy_cache.c:217: error: request for member ‘q’ in something not a structure or union
>>     src/gmpy_cache.c: At top level:
>>     src/gmpy_cache.c:225: error: syntax error before ‘*’ token
>>     src/gmpy_cache.c: In function ‘Pympq_new’:
>>     src/gmpy_cache.c:228: error: ‘self’ undeclared (first use in this function)
>>     src/gmpy_cache.c:240: error: syntax error before ‘)’ token
>>     src/gmpy_cache.c:240: error: syntax error before ‘)’ token
>>     src/gmpy_cache.c: At top level:
>>     src/gmpy_cache.c:249: error: syntax error before ‘*’ token
>>     src/gmpy_cache.c: In function ‘Pympq_dealloc’:
>>     src/gmpy_cache.c:253: error: ‘self’ undeclared (first use in this function)
>>     src/gmpy_cache.c:253: error: invalid type argument of ‘->’
>>     src/gmpy_cache.c:254: error: invalid type argument of ‘->’
>>     src/gmpy_cache.c: At top level:
>>     src/gmpy_cache.c:266: error: syntax error before ‘*’ token
>>     src/gmpy_cache.c:266: warning: data definition has no type or storage class
>>     src/gmpy_cache.c: In function ‘set_pympfrcache’:
>>     src/gmpy_cache.c:276: error: request for member ‘f’ in something not a structure or union
>>     src/gmpy_cache.c: At top level:
>>     src/gmpy_cache.c:284: error: syntax error before ‘*’ token
>>     src/gmpy_cache.c:285: error: syntax error before ‘bits’
>>     src/gmpy_cache.c: In function ‘Pympfr_new’:
>>     src/gmpy_cache.c:287: error: ‘self’ undeclared (first use in this function)
>>     src/gmpy_cache.c:290: error: ‘bits’ undeclared (first use in this function)
>>     src/gmpy_cache.c:291: error: request for member ‘now’ in something not a structure or union
>>     src/gmpy_cache.c:292: error: ‘MPFR_PREC_MIN’ undeclared (first use in this function)
>>     src/gmpy_cache.c:292: error: ‘MPFR_PREC_MAX’ undeclared (first use in this function)
>>     src/gmpy_cache.c:306: error: syntax error before ‘)’ token
>>     src/gmpy_cache.c:306: error: syntax error before ‘)’ token
>>     src/gmpy_cache.c:312: error: request for member ‘now’ in something not a structure or union
>>     src/gmpy_cache.c: At top level:
>>     src/gmpy_cache.c:317: error: syntax error before ‘*’ token
>>     src/gmpy_cache.c: In function ‘Pympfr_dealloc’:
>>     src/gmpy_cache.c:323: error: ‘self’ undeclared (first use in this function)
>>     src/gmpy_cache.c:323: error: ‘mp_bits_per_limb’ undeclared (first use in this function)
>>     In file included from src/gmpy2.c:412:
>>     src/gmpy_misc.c: In function ‘Pygmpy_get_mp_version’:
>>     src/gmpy_misc.c:73: error: ‘gmp_version’ undeclared (first use in this function)
>>     src/gmpy_misc.c: In function ‘Pygmpy_get_mpfr_version’:
>>     src/gmpy_misc.c:88: error: ‘MPFR_VERSION_STRING’ undeclared (first use in this function)
>>     src/gmpy_misc.c: In function ‘Pygmpy_get_mp_limbsize’:
>>     src/gmpy_misc.c:116: error: ‘mp_bits_per_limb’ undeclared (first use in this function)
>>     In file included from src/gmpy2.c:417:
>>     src/gmpy_context.c: At top level:
>>     src/gmpy_context.c:34: error: syntax error before ‘*’ token
>>     src/gmpy_context.c: In function ‘GMPyContext_new’:
>>     src/gmpy_context.c:37: error: ‘self’ undeclared (first use in this function)
>>     src/gmpy_context.c:39: error: syntax error before ‘)’ token
>>     src/gmpy_context.c:39: error: syntax error before ‘)’ token
>>     src/gmpy_context.c:46: error: ‘MPFR_RNDN’ undeclared (first use in this function)
>>     src/gmpy_context.c: At top level:
>>     src/gmpy_context.c:68: error: syntax error before ‘return’
>>     src/gmpy_context.c:72: error: syntax error before ‘*’ token
>>     src/gmpy_context.c: In function ‘GMPyContext_dealloc’:
>>     src/gmpy_context.c:74: error: ‘self’ undeclared (first use in this function)
>>     src/gmpy_context.c: In function ‘_round_to_name’:
>>     src/gmpy_context.c:83: error: ‘MPFR_RNDN’ undeclared (first use in this function)
>>     src/gmpy_context.c:84: error: ‘MPFR_RNDZ’ undeclared (first use in this function)
>>     src/gmpy_context.c:85: error: ‘MPFR_RNDU’ undeclared (first use in this function)
>>     src/gmpy_context.c:86: error: ‘MPFR_RNDD’ undeclared (first use in this function)
>>     src/gmpy_context.c:87: error: ‘MPFR_RNDA’ undeclared (first use in this function)
>>     src/gmpy_context.c: At top level:
>>     src/gmpy_context.c:93: error: syntax error before ‘*’ token
>>     src/gmpy_context.c: In function ‘GMPyContext_repr’:
>>     src/gmpy_context.c:136: error: ‘self’ undeclared (first use in this function)
>>     src/gmpy_cache.c: At top level:
>>     src/gmpy_cache.c:266: error: syntax error before ‘*’ token
>>     src/gmpy_cache.c:266: warning: data definition has no type or storage class
>>     src/gmpy_context.c: In function ‘Pygmpy_context’:
>>     src/gmpy_context.c:190: error: ‘result’ undeclared (first use in this function)
>>     src/gmpy_context.c: In function ‘Pygmpy_new_context’:
>>     src/gmpy_context.c:258: error: ‘result’ undeclared (first use in this function)
>>     src/gmpy_cache.c: In function ‘set_pympfrcache’:
>>     src/gmpy_context.c: In function ‘Pygmpy_set_context’:
>>     src/gmpy_cache.c:276: error: request for member ‘f’ in something not a structure or union
>>     src/gmpy_cache.c: At top level:
>>     src/gmpy_cache.c:284: error: syntax error before ‘*’ token
>>     src/gmpy_cache.c:285: error: syntax error before ‘bits’
>>     src/gmpy_cache.c: In function ‘Pympfr_new’:
>>     src/gmpy_cache.c:287: error: ‘self’ undeclared (first use in this function)
>>     src/gmpy_cache.c:290: error: ‘bits’ undeclared (first use in this function)
>>     src/gmpy_cache.c:291: error: request for member ‘now’ in something not a structure or union
>>     src/gmpy_cache.c:292: error: ‘MPFR_PREC_MIN’ undeclared (first use in this function)
>>     src/gmpy_cache.c:292: error: ‘MPFR_PREC_MAX’ undeclared (first use in this function)
>>     src/gmpy_cache.c:306: error: syntax error before ‘)’ token
>>     src/gmpy_cache.c:306: error: syntax error before ‘)’ token
>>     src/gmpy_cache.c:312: error: request for member ‘now’ in something not a structure or union
>>     src/gmpy_cache.c: At top level:
>>     src/gmpy_cache.c:317: error: syntax error before ‘*’ token
>>     src/gmpy_cache.c: In function ‘Pympfr_dealloc’:
>>     src/gmpy_cache.c:323: error: ‘self’ undeclared (first use in this function)
>>     src/gmpy_cache.c:323: error: ‘mp_bits_per_limb’ undeclared (first use in this function)
>>     In file included from src/gmpy2.c:412:
>>     src/gmpy_misc.c: In function ‘Pygmpy_get_mp_version’:
>>     src/gmpy_misc.c:73: error: ‘gmp_version’ undeclared (first use in this function)
>>     src/gmpy_misc.c: In function ‘Pygmpy_get_mpfr_version’:
>>     src/gmpy_misc.c:88: error: ‘MPFR_VERSION_STRING’ undeclared (first use in this function)
>>     src/gmpy_misc.c: In function ‘Pygmpy_get_mp_limbsize’:
>>     src/gmpy_misc.c:116: error: ‘mp_bits_per_limb’ undeclared (first use in this function)
>>     In file included from src/gmpy2.c:417:
>>     src/gmpy_context.c: At top level:
>>     src/gmpy_context.c:34: error: syntax error before ‘*’ token
>>     src/gmpy_context.c: In function ‘GMPyContext_new’:
>>     src/gmpy_context.c:37: error: ‘self’ undeclared (first use in this function)
>>     src/gmpy_context.c:39: error: syntax error before ‘)’ token
>>     src/gmpy_context.c:39: error: syntax error before ‘)’ token
>>     src/gmpy_context.c:46: error: ‘MPFR_RNDN’ undeclared (first use in this function)
>>     src/gmpy_context.c: At top level:
>>     src/gmpy_context.c:68: error: syntax error before ‘return’
>>     src/gmpy_context.c:72: error: syntax error before ‘*’ token
>>     src/gmpy_context.c: In function ‘GMPyContext_dealloc’:
>>     src/gmpy_context.c:74: error: ‘self’ undeclared (first use in this function)
>>     src/gmpy_context.c: In function ‘_round_to_name’:
>>     src/gmpy_context.c:83: error: ‘MPFR_RNDN’ undeclared (first use in this function)
>>     src/gmpy_context.c:84: error: ‘MPFR_RNDZ’ undeclared (first use in this function)
>>     src/gmpy_context.c:85: error: ‘MPFR_RNDU’ undeclared (first use in this function)
>>     src/gmpy_context.c:86: error: ‘MPFR_RNDD’ undeclared (first use in this function)
>>     src/gmpy_context.c:87: error: ‘MPFR_RNDA’ undeclared (first use in this function)
>>     src/gmpy_context.c: At top level:
>>     src/gmpy_context.c:93: error: syntax error before ‘*’ token
>>     src/gmpy_context.c: In function ‘GMPyContext_repr’:
>>     src/gmpy_context.c:136: error: ‘self’ undeclared (first use in this function)
>>     src/gmpy_context.c: In function ‘Pygmpy_context’:
>>     src/gmpy_context.c:190: error: ‘result’ undeclared (first use in this function)
>>     src/gmpy_context.c: In function ‘Pygmpy_new_context’:
>>     src/gmpy_context.c:258: error: ‘result’ undeclared (first use in this function)
>>     src/gmpy_context.c: In function ‘Pygmpy_set_context’:
>>     src/gmpy_context.c:322: error: syntax error before ‘)’ token
>>     src/gmpy_context.c:323: error: request for member ‘now’ in something not a structure or union
>>     src/gmpy_context.c:324: error: request for member ‘now’ in something not a structure or union
>>     src/gmpy_context.c: In function ‘GMPyContext_enter’:
>>     src/gmpy_context.c:336: error: ‘result’ undeclared (first use in this function)
>>     src/gmpy_context.c:336: error: ‘save’ undeclared (first use in this function)
>>     src/gmpy_context.c:338: error: syntax error before ‘)’ token
>>     src/gmpy_context.c:344: error: request for member ‘now’ in something not a structure or union
>>     src/gmpy_context.c:348: error: syntax error before ‘)’ token
>>     src/gmpy_context.c:350: error: syntax error before ‘)’ token
>>     src/gmpy_context.c:351: error: request for member ‘now’ in something not a structure or union
>>     src/gmpy_context.c:352: error: request for member ‘now’ in something not a structure or union
>>     src/gmpy_context.c: In function ‘GMPyContext_exit’:
>>     src/gmpy_context.c:362: error: syntax error before ‘)’ token
>>     src/gmpy_context.c:368: error: syntax error before ‘)’ token
>>     src/gmpy_context.c:368: error: syntax error before ‘)’ token
>>     src/gmpy_context.c:369: error: request for member ‘now’ in something not a structure or union
>>     src/gmpy_context.c:370: error: request for member ‘now’ in something not a structure or union
>>     src/gmpy_context.c:371: error: syntax error before ‘)’ token
>>     src/gmpy_context.c: In function ‘GMPyContext_clear_flags’:
>>     src/gmpy_context.c:381: error: syntax error before ‘)’ token
>>     src/gmpy_context.c:382: error: syntax error before ‘)’ token
>>     src/gmpy_context.c:383: error: syntax error before ‘)’ token
>>     src/gmpy_context.c:384: error: syntax error before ‘)’ token
>>     src/gmpy_context.c:385: error: syntax error before ‘)’ token
>>     src/gmpy_context.c:386: error: syntax error before ‘)’ token
>>     src/gmpy_context.c: At top level:
>>     src/gmpy_context.c:409: error: syntax error before ‘*’ token
>>     src/gmpy_context.c: In function ‘GMPyContext_get_subnormalize’:
>>     src/gmpy_context.c:409: error: ‘self’ undeclared (first use in this function)
>>     src/gmpy_context.c: At top level:
>>     src/gmpy_context.c:409: error: syntax error before ‘*’ token
>>     src/gmpy_context.c: In function ‘GMPyContext_set_subnormalize’:
>>     src/gmpy_context.c:409: error: ‘value’ undeclared (first use in this function)
>>     src/gmpy_context.c:409: error: ‘self’ undeclared (first use in this function)
>>     src/gmpy_context.c: At top level:
>>     src/gmpy_context.c:410: error: syntax error before ‘*’ token
>>     src/gmpy_context.c: In function ‘GMPyContext_get_underflow’:
>>     src/gmpy_context.c:410: error: ‘self’ undeclared (first use in this function)
>>     src/gmpy_context.c: At top level:
>>     src/gmpy_context.c:410: error: syntax error before ‘*’ token
>>     src/gmpy_context.c: In function ‘GMPyContext_set_underflow’:
>>     src/gmpy_context.c:410: error: ‘value’ undeclared (first use in this function)
>>     src/gmpy_context.c:410: error: ‘self’ undeclared (first use in this function)
>>     src/gmpy_context.c: At top level:
>>     src/gmpy_context.c:411: error: syntax error before ‘*’ token
>>     src/gmpy_context.c: In function ‘GMPyContext_get_overflow’:
>>     src/gmpy_context.c:411: error: ‘self’ undeclared (first use in this function)
>>     src/gmpy_context.c: At top level:
>>     src/gmpy_context.c:411: error: syntax error before ‘*’ token
>>     src/gmpy_context.c: In function ‘GMPyContext_set_overflow’:
>>     src/gmpy_context.c:411: error: ‘value’ undeclared (first use in this function)
>>     src/gmpy_context.c:411: error: ‘self’ undeclared (first use in this function)
>>     src/gmpy_context.c: At top level:
>>     src/gmpy_context.c:412: error: syntax error before ‘*’ token
>>     src/gmpy_context.c: In function ‘GMPyContext_get_inexact’:
>>     src/gmpy_context.c:412: error: ‘self’ undeclared (first use in this function)
>>     src/gmpy_context.c: At top level:
>>     src/gmpy_context.c:412: error: syntax error before ‘*’ token
>>     src/gmpy_context.c: In function ‘GMPyContext_set_inexact’:
>>     src/gmpy_context.c:412: error: ‘value’ undeclared (first use in this function)
>>     src/gmpy_context.c:412: error: ‘self’ undeclared (first use in this function)
>>     src/gmpy_context.c: At top level:
>>     src/gmpy_context.c:413: error: syntax error before ‘*’ token
>>     src/gmpy_context.c: In function ‘GMPyContext_get_invalid’:
>>     src/gmpy_context.c:413: error: ‘self’ undeclared (first use in this function)
>>     src/gmpy_context.c: At top level:
>>     src/gmpy_context.c:413: error: syntax error before ‘*’ token
>>     src/gmpy_context.c: In function ‘GMPyContext_set_invalid’:
>>     src/gmpy_context.c:413: error: ‘value’ undeclared (first use in this function)
>>     src/gmpy_context.c:413: error: ‘self’ undeclared (first use in this function)
>>     src/gmpy_context.c: At top level:
>>     src/gmpy_context.c:414: error: syntax error before ‘*’ token
>>     src/gmpy_context.c: In function ‘GMPyContext_get_erange’:
>>     src/gmpy_context.c:414: error: ‘self’ undeclared (first use in this function)
>>     src/gmpy_context.c: At top level:
>>     src/gmpy_context.c:414: error: syntax error before ‘*’ token
>>     src/gmpy_context.c: In function ‘GMPyContext_set_erange’:
>>     src/gmpy_context.c:414: error: ‘value’ undeclared (first use in this function)
>>     src/gmpy_context.c:414: error: ‘self’ undeclared (first use in this function)
>>     src/gmpy_context.c: At top level:
>>     src/gmpy_context.c:415: error: syntax error before ‘*’ token
>>     src/gmpy_context.c: In function ‘GMPyContext_get_divzero’:
>>     src/gmpy_context.c:415: error: ‘self’ undeclared (first use in this function)
>>     src/gmpy_context.c: At top level:
>>     src/gmpy_context.c:415: error: syntax error before ‘*’ token
>>     src/gmpy_context.c: In function ‘GMPyContext_set_divzero’:
>>     src/gmpy_context.c:415: error: ‘value’ undeclared (first use in this function)
>>     src/gmpy_context.c:415: error: ‘self’ undeclared (first use in this function)
>>     src/gmpy_context.c: At top level:
>>     src/gmpy_context.c:416: error: syntax error before ‘*’ token
>>     src/gmpy_context.c: In function ‘GMPyContext_get_trap_underflow’:
>>     src/gmpy_context.c:416: error: ‘self’ undeclared (first use in this function)
>>     src/gmpy_context.c: At top level:
>>     src/gmpy_context.c:416: error: syntax error before ‘*’ token
>>     src/gmpy_context.c: In function ‘GMPyContext_set_trap_underflow’:
>>     src/gmpy_context.c:416: error: ‘value’ undeclared (first use in this function)
>>     src/gmpy_context.c:416: error: ‘self’ undeclared (first use in this function)
>>     src/gmpy_context.c: At top level:
>>     src/gmpy_context.c:417: error: syntax error before ‘*’ token
>>     src/gmpy_context.c: In function ‘GMPyContext_get_trap_overflow’:
>>     src/gmpy_context.c:417: error: ‘self’ undeclared (first use in this function)
>>     src/gmpy_context.c: At top level:
>>     src/gmpy_context.c:417: error: syntax error before ‘*’ token
>>     src/gmpy_context.c: In function ‘GMPyContext_set_trap_overflow’:
>>     src/gmpy_context.c:417: error: ‘value’ undeclared (first use in this function)
>>     src/gmpy_context.c:417: error: ‘self’ undeclared (first use in this function)
>>     src/gmpy_context.c: At top level:
>>     src/gmpy_context.c:418: error: syntax error before ‘*’ token
>>     src/gmpy_context.c: In function ‘GMPyContext_get_trap_inexact’:
>>     src/gmpy_context.c:322: error: syntax error before ‘)’ token
>>     src/gmpy_context.c:323: error: request for member ‘now’ in something not a structure or union
>>     src/gmpy_context.c:324: error: request for member ‘now’ in something not a structure or union
>>     src/gmpy_context.c: In function ‘GMPyContext_enter’:
>>     src/gmpy_context.c:336: error: ‘result’ undeclared (first use in this function)
>>     src/gmpy_context.c:336: error: ‘save’ undeclared (first use in this function)
>>     src/gmpy_context.c:338: error: syntax error before ‘)’ token
>>     src/gmpy_context.c:344: error: request for member ‘now’ in something not a structure or union
>>     src/gmpy_context.c:348: error: syntax error before ‘)’ token
>>     src/gmpy_context.c:350: error: syntax error before ‘)’ token
>>     src/gmpy_context.c:351: error: request for member ‘now’ in something not a structure or union
>>     src/gmpy_context.c:352: error: request for member ‘now’ in something not a structure or union
>>     src/gmpy_context.c: In function ‘GMPyContext_exit’:
>>     src/gmpy_context.c:362: error: syntax error before ‘)’ token
>>     src/gmpy_context.c:368: error: syntax error before ‘)’ token
>>     src/gmpy_context.c:368: error: syntax error before ‘)’ token
>>     src/gmpy_context.c:369: error: request for member ‘now’ in something not a structure or union
>>     src/gmpy_context.c:370: error: request for member ‘now’ in something not a structure or union
>>     src/gmpy_context.c:371: error: syntax error before ‘)’ token
>>     src/gmpy_context.c: In function ‘GMPyContext_clear_flags’:
>>     src/gmpy_context.c:381: error: syntax error before ‘)’ token
>>     src/gmpy_context.c:382: error: syntax error before ‘)’ token
>>     src/gmpy_context.c:383: error: syntax error before ‘)’ token
>>     src/gmpy_context.c:384: error: syntax error before ‘)’ token
>>     src/gmpy_context.c:385: error: syntax error before ‘)’ token
>>     src/gmpy_context.c:386: error: syntax error before ‘)’ token
>>     src/gmpy_context.c: At top level:
>>     src/gmpy_context.c:409: error: syntax error before ‘*’ token
>>     src/gmpy_context.c: In function ‘GMPyContext_get_subnormalize’:
>>     src/gmpy_context.c:409: error: ‘self’ undeclared (first use in this function)
>>     src/gmpy_context.c: At top level:
>>     src/gmpy_context.c:409: error: syntax error before ‘*’ token
>>     src/gmpy_context.c: In function ‘GMPyContext_set_subnormalize’:
>>     src/gmpy_context.c:409: error: ‘value’ undeclared (first use in this function)
>>     src/gmpy_context.c:409: error: ‘self’ undeclared (first use in this function)
>>     src/gmpy_context.c: At top level:
>>     src/gmpy_context.c:410: error: syntax error before ‘*’ token
>>     src/gmpy_context.c: In function ‘GMPyContext_get_underflow’:
>>     src/gmpy_context.c:410: error: ‘self’ undeclared (first use in this function)
>>     src/gmpy_context.c: At top level:
>>     src/gmpy_context.c:410: error: syntax error before ‘*’ token
>>     src/gmpy_context.c: In function ‘GMPyContext_set_underflow’:
>>     src/gmpy_context.c:410: error: ‘value’ undeclared (first use in this function)
>>     src/gmpy_context.c:410: error: ‘self’ undeclared (first use in this function)
>>     src/gmpy_context.c: At top level:
>>     src/gmpy_context.c:411: error: syntax error before ‘*’ token
>>     src/gmpy_context.c: In function ‘GMPyContext_get_overflow’:
>>     src/gmpy_context.c:411: error: ‘self’ undeclared (first use in this function)
>>     src/gmpy_context.c: At top level:
>>     src/gmpy_context.c:411: error: syntax error before ‘*’ token
>>     src/gmpy_context.c: In function ‘GMPyContext_set_overflow’:
>>     src/gmpy_context.c:411: error: ‘value’ undeclared (first use in this function)
>>     src/gmpy_context.c:411: error: ‘self’ undeclared (first use in this function)
>>     src/gmpy_context.c: At top level:
>>     src/gmpy_context.c:412: error: syntax error before ‘*’ token
>>     src/gmpy_context.c: In function ‘GMPyContext_get_inexact’:
>>     src/gmpy_context.c:412: error: ‘self’ undeclared (first use in this function)
>>     src/gmpy_context.c: At top level:
>>     src/gmpy_context.c:412: error: syntax error before ‘*’ token
>>     src/gmpy_context.c: In function ‘GMPyContext_set_inexact’:
>>     src/gmpy_context.c:412: error: ‘value’ undeclared (first use in this function)
>>     src/gmpy_context.c:412: error: ‘self’ undeclared (first use in this function)
>>     src/gmpy_context.c: At top level:
>>     src/gmpy_context.c:413: error: syntax error before ‘*’ token
>>     src/gmpy_context.c: In function ‘GMPyContext_get_invalid’:
>>     src/gmpy_context.c:413: error: ‘self’ undeclared (first use in this function)
>>     src/gmpy_context.c: At top level:
>>     src/gmpy_context.c:413: error: syntax error before ‘*’ token
>>     src/gmpy_context.c: In function ‘GMPyContext_set_invalid’:
>>     src/gmpy_context.c:413: error: ‘value’ undeclared (first use in this function)
>>     src/gmpy_context.c:413: error: ‘self’ undeclared (first use in this function)
>>     src/gmpy_context.c: At top level:
>>     src/gmpy_context.c:414: error: syntax error before ‘*’ token
>>     src/gmpy_context.c: In function ‘GMPyContext_get_erange’:
>>     src/gmpy_context.c:414: error: ‘self’ undeclared (first use in this function)
>>     src/gmpy_context.c: At top level:
>>     src/gmpy_context.c:414: error: syntax error before ‘*’ token
>>     src/gmpy_context.c: In function ‘GMPyContext_set_erange’:
>>     src/gmpy_context.c:414: error: ‘value’ undeclared (first use in this function)
>>     src/gmpy_context.c:414: error: ‘self’ undeclared (first use in this function)
>>     src/gmpy_context.c: At top level:
>>     src/gmpy_context.c:415: error: syntax error before ‘*’ token
>>     src/gmpy_context.c: In function ‘GMPyContext_get_divzero’:
>>     src/gmpy_context.c:415: error: ‘self’ undeclared (first use in this function)
>>     src/gmpy_context.c: At top level:
>>     src/gmpy_context.c:415: error: syntax error before ‘*’ token
>>     src/gmpy_context.c: In function ‘GMPyContext_set_divzero’:
>>     src/gmpy_context.c:415: error: ‘value’ undeclared (first use in this function)
>>     src/gmpy_context.c:415: error: ‘self’ undeclared (first use in this function)
>>     src/gmpy_context.c: At top level:
>>     src/gmpy_context.c:416: error: syntax error before ‘*’ token
>>     src/gmpy_context.c: In function ‘GMPyContext_get_trap_underflow’:
>>     src/gmpy_context.c:416: error: ‘self’ undeclared (first use in this function)
>>     src/gmpy_context.c: At top level:
>>     src/gmpy_context.c:416: error: syntax error before ‘*’ token
>>     src/gmpy_context.c: In function ‘GMPyContext_set_trap_underflow’:
>>     src/gmpy_context.c:416: error: ‘value’ undeclared (first use in this function)
>>     src/gmpy_context.c:416: error: ‘self’ undeclared (first use in this function)
>>     src/gmpy_context.c: At top level:
>>     src/gmpy_context.c:417: error: syntax error before ‘*’ token
>>     src/gmpy_context.c: In function ‘GMPyContext_get_trap_overflow’:
>>     src/gmpy_context.c:417: error: ‘self’ undeclared (first use in this function)
>>     src/gmpy_context.c: At top level:
>>     src/gmpy_context.c:417: error: syntax error before ‘*’ token
>>     src/gmpy_context.c: In function ‘GMPyContext_set_trap_overflow’:
>>     src/gmpy_context.c:417: error: ‘value’ undeclared (first use in this function)
>>     src/gmpy_context.c:417: error: ‘self’ undeclared (first use in this function)
>>     src/gmpy_context.c: At top level:
>>     src/gmpy_context.c:418: error: syntax error before ‘*’ token
>>     src/gmpy_context.c: In function ‘GMPyContext_get_trap_inexact’:
>>     src/gmpy_context.c:418: error: ‘self’ undeclared (first use in this function)
>>     src/gmpy_context.c: At top level:
>>     src/gmpy_context.c:418: error: syntax error before ‘*’ token
>>     src/gmpy_context.c: In function ‘GMPyContext_set_trap_inexact’:
>>     src/gmpy_context.c:418: error: ‘value’ undeclared (first use in this function)
>>     src/gmpy_context.c:418: error: ‘self’ undeclared (first use in this function)
>>     src/gmpy_context.c: At top level:
>>     src/gmpy_context.c:419: error: syntax error before ‘*’ token
>>     src/gmpy_context.c: In function ‘GMPyContext_get_trap_invalid’:
>>     src/gmpy_context.c:419: error: ‘self’ undeclared (first use in this function)
>>     src/gmpy_context.c: At top level:
>>     src/gmpy_context.c:419: error: syntax error before ‘*’ token
>>     src/gmpy_context.c: In function ‘GMPyContext_set_trap_invalid’:
>>     src/gmpy_context.c:419: error: ‘value’ undeclared (first use in this function)
>>     src/gmpy_context.c:419: error: ‘self’ undeclared (first use in this function)
>>     src/gmpy_context.c: At top level:
>>     src/gmpy_context.c:420: error: syntax error before ‘*’ token
>>     src/gmpy_context.c: In function ‘GMPyContext_get_trap_erange’:
>>     src/gmpy_context.c:420: error: ‘self’ undeclared (first use in this function)
>>     src/gmpy_context.c: At top level:
>>     src/gmpy_context.c:420: error: syntax error before ‘*’ token
>>     src/gmpy_context.c: In function ‘GMPyContext_set_trap_erange’:
>>     src/gmpy_context.c:420: error: ‘value’ undeclared (first use in this function)
>>     src/gmpy_context.c:420: error: ‘self’ undeclared (first use in this function)
>>     src/gmpy_context.c: At top level:
>>     src/gmpy_context.c:421: error: syntax error before ‘*’ token
>>     src/gmpy_context.c: In function ‘GMPyContext_get_trap_divzero’:
>>     src/gmpy_context.c:421: error: ‘self’ undeclared (first use in this function)
>>     src/gmpy_context.c: At top level:
>>     src/gmpy_context.c:421: error: syntax error before ‘*’ token
>>     src/gmpy_context.c: In function ‘GMPyContext_set_trap_divzero’:
>>     src/gmpy_context.c:421: error: ‘value’ undeclared (first use in this function)
>>     src/gmpy_context.c:421: error: ‘self’ undeclared (first use in this function)
>>     src/gmpy_context.c: At top level:
>>     src/gmpy_context.c:424: error: syntax error before ‘*’ token
>>     src/gmpy_context.c: In function ‘GMPyContext_get_precision’:
>>     src/gmpy_context.c:426: error: ‘self’ undeclared (first use in this function)
>>     src/gmpy_context.c: At top level:
>>     src/gmpy_context.c:430: error: syntax error before ‘*’ token
>>     src/gmpy_context.c: In function ‘GMPyContext_set_precision’:
>>     src/gmpy_context.c:434: error: ‘value’ undeclared (first use in this function)
>>     src/gmpy_context.c:439: error: ‘MPFR_PREC_MIN’ undeclared (first use in this function)
>>     src/gmpy_context.c:439: error: ‘MPFR_PREC_MAX’ undeclared (first use in this function)
>>     src/gmpy_context.c:443: error: ‘self’ undeclared (first use in this function)
>>     src/gmpy_context.c:443: error: ‘mpfr_prec_t’ undeclared (first use in this function)
>>     src/gmpy_context.c:443: error: syntax error before ‘temp’
>>     src/gmpy_context.c: At top level:
>>     src/gmpy_context.c:510: error: syntax error before ‘*’ token
>>     src/gmpy_context.c: In function ‘GMPyContext_get_round’:
>>     src/gmpy_context.c:512: error: ‘self’ undeclared (first use in this function)
>>     src/gmpy_context.c: At top level:
>>     src/gmpy_context.c:516: error: syntax error before ‘*’ token
>>     src/gmpy_context.c: In function ‘GMPyContext_set_round’:
>>     src/gmpy_context.c:520: error: ‘value’ undeclared (first use in this function)
>>     src/gmpy_context.c:529: error: ‘MPFR_RNDN’ undeclared (first use in this function)
>>     src/gmpy_context.c:418: error: ‘self’ undeclared (first use in this function)
>>     src/gmpy_context.c: At top level:
>>     src/gmpy_context.c:418: error: syntax error before ‘*’ token
>>     src/gmpy_context.c: In function ‘GMPyContext_set_trap_inexact’:
>>     src/gmpy_context.c:418: error: ‘value’ undeclared (first use in this function)
>>     src/gmpy_context.c:418: error: ‘self’ undeclared (first use in this function)
>>     src/gmpy_context.c: At top level:
>>     src/gmpy_context.c:419: error: syntax error before ‘*’ token
>>     src/gmpy_context.c: In function ‘GMPyContext_get_trap_invalid’:
>>     src/gmpy_context.c:419: error: ‘self’ undeclared (first use in this function)
>>     src/gmpy_context.c: At top level:
>>     src/gmpy_context.c:419: error: syntax error before ‘*’ token
>>     src/gmpy_context.c: In function ‘GMPyContext_set_trap_invalid’:
>>     src/gmpy_context.c:419: error: ‘value’ undeclared (first use in this function)
>>     src/gmpy_context.c:419: error: ‘self’ undeclared (first use in this function)
>>     src/gmpy_context.c: At top level:
>>     src/gmpy_context.c:420: error: syntax error before ‘*’ token
>>     src/gmpy_context.c: In function ‘GMPyContext_get_trap_erange’:
>>     src/gmpy_context.c:420: error: ‘self’ undeclared (first use in this function)
>>     src/gmpy_context.c: At top level:
>>     src/gmpy_context.c:420: error: syntax error before ‘*’ token
>>     src/gmpy_context.c: In function ‘GMPyContext_set_trap_erange’:
>>     src/gmpy_context.c:420: error: ‘value’ undeclared (first use in this function)
>>     src/gmpy_context.c:420: error: ‘self’ undeclared (first use in this function)
>>     src/gmpy_context.c: At top level:
>>     src/gmpy_context.c:421: error: syntax error before ‘*’ token
>>     src/gmpy_context.c: In function ‘GMPyContext_get_trap_divzero’:
>>     src/gmpy_context.c:421: error: ‘self’ undeclared (first use in this function)
>>     src/gmpy_context.c: At top level:
>>     src/gmpy_context.c:421: error: syntax error before ‘*’ token
>>     src/gmpy_context.c: In function ‘GMPyContext_set_trap_divzero’:
>>     src/gmpy_context.c:421: error: ‘value’ undeclared (first use in this function)
>>     src/gmpy_context.c:421: error: ‘self’ undeclared (first use in this function)
>>     src/gmpy_context.c: At top level:
>>     src/gmpy_context.c:424: error: syntax error before ‘*’ token
>>     src/gmpy_context.c: In function ‘GMPyContext_get_precision’:
>>     src/gmpy_context.c:426: error: ‘self’ undeclared (first use in this function)
>>     src/gmpy_context.c: At top level:
>>     src/gmpy_context.c:430: error: syntax error before ‘*’ token
>>     src/gmpy_context.c: In function ‘GMPyContext_set_precision’:
>>     src/gmpy_context.c:434: error: ‘value’ undeclared (first use in this function)
>>     src/gmpy_context.c:439: error: ‘MPFR_PREC_MIN’ undeclared (first use in this function)
>>     src/gmpy_context.c:439: error: ‘MPFR_PREC_MAX’ undeclared (first use in this function)
>>     src/gmpy_context.c:443: error: ‘self’ undeclared (first use in this function)
>>     src/gmpy_context.c:443: error: ‘mpfr_prec_t’ undeclared (first use in this function)
>>     src/gmpy_context.c:443: error: syntax error before ‘temp’
>>     src/gmpy_context.c: At top level:
>>     src/gmpy_context.c:510: error: syntax error before ‘*’ token
>>     src/gmpy_context.c: In function ‘GMPyContext_get_round’:
>>     src/gmpy_context.c:512: error: ‘self’ undeclared (first use in this function)
>>     src/gmpy_context.c: At top level:
>>     src/gmpy_context.c:516: error: syntax error before ‘*’ token
>>     src/gmpy_context.c: In function ‘GMPyContext_set_round’:
>>     src/gmpy_context.c:520: error: ‘value’ undeclared (first use in this function)
>>     src/gmpy_context.c:529: error: ‘MPFR_RNDN’ undeclared (first use in this function)
>>     src/gmpy_context.c:530: error: ‘self’ undeclared (first use in this function)
>>     src/gmpy_context.c:531: error: ‘MPFR_RNDZ’ undeclared (first use in this function)
>>     src/gmpy_context.c:533: error: ‘MPFR_RNDU’ undeclared (first use in this function)
>>     src/gmpy_context.c:535: error: ‘MPFR_RNDD’ undeclared (first use in this function)
>>     src/gmpy_context.c:537: error: ‘MPFR_RNDA’ undeclared (first use in this function)
>>     src/gmpy_context.c: At top level:
>>     src/gmpy_context.c:630: error: syntax error before ‘*’ token
>>     src/gmpy_context.c: In function ‘GMPyContext_get_emin’:
>>     src/gmpy_context.c:632: error: ‘self’ undeclared (first use in this function)
>>     src/gmpy_context.c: At top level:
>>     src/gmpy_context.c:530: error: ‘self’ undeclared (first use in this function)
>>     src/gmpy_context.c:636: error: syntax error before ‘*’ token
>>     src/gmpy_context.c: In function ‘GMPyContext_set_emin’:
>>     src/gmpy_context.c:640: error: ‘value’ undeclared (first use in this function)
>>     src/gmpy_context.c:531: error: ‘MPFR_RNDZ’ undeclared (first use in this function)
>>     src/gmpy_context.c:533: error: ‘MPFR_RNDU’ undeclared (first use in this function)
>>     src/gmpy_context.c:535: error: ‘MPFR_RNDD’ undeclared (first use in this function)
>>     src/gmpy_context.c:537: error: ‘MPFR_RNDA’ undeclared (first use in this function)
>>     src/gmpy_context.c:649: error: ‘mpfr_prec_t’ undeclared (first use in this function)
>>     src/gmpy_context.c:649: error: syntax error before ‘exp’
>>     src/gmpy_context.c: At top level:
>>     src/gmpy_context.c:653: error: syntax error before ‘->’ token
>>     src/gmpy_context.c:654: warning: parameter names (without types) in function declaration
>>     src/gmpy_context.c:654: warning: data definition has no type or storage class
>>     src/gmpy_context.c:655: error: syntax error before ‘return’
>>     src/gmpy_context.c:659: error: syntax error before ‘*’ token
>>     src/gmpy_context.c: In function ‘GMPyContext_get_emax’:
>>     src/gmpy_context.c:661: error: ‘self’ undeclared (first use in this function)
>>     src/gmpy_context.c: At top level:
>>     src/gmpy_context.c:665: error: syntax error before ‘*’ token
>>     src/gmpy_context.c: In function ‘GMPyContext_set_emax’:
>>     src/gmpy_context.c:669: error: ‘value’ undeclared (first use in this function)
>>     src/gmpy_context.c: At top level:
>>     src/gmpy_context.c:630: error: syntax error before ‘*’ token
>>     src/gmpy_context.c: In function ‘GMPyContext_get_emin’:
>>     src/gmpy_context.c:632: error: ‘self’ undeclared (first use in this function)
>>     src/gmpy_context.c:678: error: ‘mpfr_prec_t’ undeclared (first use in this function)
>>     src/gmpy_context.c:678: error: syntax error before ‘exp’
>>     src/gmpy_context.c: At top level:
>>     src/gmpy_context.c:636: error: syntax error before ‘*’ token
>>     src/gmpy_context.c: At top level:src/gmpy_context.c: In function ‘GMPyContext_set_emin’:
>>
>>     src/gmpy_context.c:682: error: syntax error before ‘->’ tokensrc/gmpy_context.c:640: error: ‘value’ undeclared (first use in this function)
>>
>>     src/gmpy_context.c:683: warning: parameter names (without types) in function declaration
>>     src/gmpy_context.c:683: warning: data definition has no type or storage class
>>     src/gmpy_context.c:684: error: syntax error before ‘return’
>>     src/gmpy_context.c:649: error: ‘mpfr_prec_t’ undeclared (first use in this function)
>>     src/gmpy_context.c:649: error: syntax error before ‘exp’
>>     src/gmpy_context.c: At top level:
>>     src/gmpy_context.c:653: error: syntax error before ‘->’ token
>>     src/gmpy_context.c:654: warning: parameter names (without types) in function declaration
>>     src/gmpy_context.c:654: warning: data definition has no type or storage class
>>     src/gmpy_context.c:655: error: syntax error before ‘return’
>>     src/gmpy_context.c:659: error: syntax error before ‘*’ token
>>     src/gmpy_context.c: In function ‘GMPyContext_get_emax’:
>>     src/gmpy_context.c:661: error: ‘self’ undeclared (first use in this function)
>>     src/gmpy_context.c: At top level:
>>     src/gmpy_context.c:665: error: syntax error before ‘*’ token
>>     src/gmpy_context.c: In function ‘GMPyContext_set_emax’:
>>     src/gmpy_context.c:669: error: ‘value’ undeclared (first use in this function)
>>     src/gmpy_context.c:678: error: ‘mpfr_prec_t’ undeclared (first use in this function)
>>     src/gmpy_context.c:678: error: syntax error before ‘exp’
>>     src/gmpy_context.c: At top level:
>>     src/gmpy_context.c:682: error: syntax error before ‘->’ token
>>     src/gmpy_context.c:683: warning: parameter names (without types) in function declaration
>>     src/gmpy_context.c:683: warning: data definition has no type or storage class
>>     src/gmpy_context.c:684: error: syntax error before ‘return’
>>     In file included from src/gmpy2.c:422:
>>     src/gmpy_binary.c: In function ‘Pympz_From_Old_Binary’:
>>     src/gmpy_binary.c:41: error: ‘result’ undeclared (first use in this function)
>>     src/gmpy_binary.c: In function ‘Pympq_From_Old_Binary’:
>>     src/gmpy_binary.c:73: error: ‘mpz_t’ undeclared (first use in this function)
>>     src/gmpy_binary.c:73: error: syntax error before ‘numerator’
>>     src/gmpy_binary.c:74: error: ‘result’ undeclared (first use in this function)
>>     In file included from src/gmpy2.c:422:
>>     src/gmpy_binary.c: In function ‘Pympz_From_Old_Binary’:
>>     src/gmpy_binary.c:41: error: ‘result’ undeclared (first use in this function)
>>     src/gmpy_binary.c:102: error: ‘numerator’ undeclared (first use in this function)
>>     src/gmpy_binary.c:103: error: ‘denominator’ undeclared (first use in this function)
>>     src/gmpy_binary.c: In function ‘Pympfr_From_Old_Binary’:
>>     src/gmpy_binary.c:126: error: ‘result’ undeclared (first use in this function)
>>     src/gmpy_binary.c:127: error: ‘mpfr_t’ undeclared (first use in this function)
>>     src/gmpy_binary.c:127: error: syntax error before ‘digit’
>>     src/gmpy_binary.c:128: error: ‘mpfr_prec_t’ undeclared (first use in this function)
>>     src/gmpy_binary.c:141: error: ‘prec’ undeclared (first use in this function)
>>     src/gmpy_binary.c:172: error: request for member ‘now’ in something not a structure or union
>>     src/gmpy_binary.c:193: error: request for member ‘now’ in something not a structure or union
>>     src/gmpy_binary.c:194: error: syntax error before ‘digit’
>>     src/gmpy_binary.c:196: error: syntax error before ‘digit’
>>     src/gmpy_binary.c:197: error: syntax error before ‘digit’
>>     src/gmpy_binary.c:199: error: syntax error before ‘digit’
>>     src/gmpy_binary.c:201: error: syntax error before ‘digit’
>>     src/gmpy_binary.c:204: error: request for member ‘now’ in something not a structure or union
>>     src/gmpy_binary.c:206: error: request for member ‘now’ in something not a structure or union
>>     src/gmpy_binary.c:209: error: request for member ‘now’ in something not a structure or union
>>     src/gmpy2.c: At top level:
>>     src/gmpy2.c:426: error: syntax error before ‘*’ token
>>     src/gmpy2.c: In function ‘Pympz2Pympz’:
>>     src/gmpy2.c:429: error: ‘newob’ undeclared (first use in this function)
>>     src/gmpy2.c:433: error: syntax error before ‘)’ token
>>     src/gmpy2.c: At top level:
>>     src/gmpy2.c:437: error: syntax error before ‘*’ token
>>     src/gmpy2.c: In function ‘Pyxmpz2Pyxmpz’:
>>     src/gmpy2.c:440: error: ‘newob’ undeclared (first use in this function)
>>     src/gmpy2.c:444: error: syntax error before ‘)’ token
>>     src/gmpy2.c: At top level:
>>     src/gmpy2.c:448: error: syntax error before ‘*’ token
>>     src/gmpy2.c: In function ‘Pyxmpz2Pympz’:
>>     src/gmpy_binary.c: In function ‘Pympq_From_Old_Binary’:
>>     src/gmpy_binary.c:73: error: ‘mpz_t’ undeclared (first use in this function)
>>     src/gmpy_binary.c:73: error: syntax error before ‘numerator’
>>     src/gmpy_binary.c:74: error: ‘result’ undeclared (first use in this function)
>>     src/gmpy_binary.c:102: error: ‘numerator’ undeclared (first use in this function)
>>     src/gmpy_binary.c:103: error: ‘denominator’ undeclared (first use in this function)
>>     src/gmpy_binary.c: In function ‘Pympfr_From_Old_Binary’:
>>     src/gmpy_binary.c:126: error: ‘result’ undeclared (first use in this function)
>>     src/gmpy_binary.c:127: error: ‘mpfr_t’ undeclared (first use in this function)
>>     src/gmpy_binary.c:127: error: syntax error before ‘digit’
>>     src/gmpy_binary.c:128: error: ‘mpfr_prec_t’ undeclared (first use in this function)
>>     src/gmpy_binary.c:141: error: ‘prec’ undeclared (first use in this function)
>>     src/gmpy_binary.c:172: error: request for member ‘now’ in something not a structure or union
>>     src/gmpy_binary.c:193: error: request for member ‘now’ in something not a structure or union
>>     src/gmpy_binary.c:194: error: syntax error before ‘digit’
>>     src/gmpy_binary.c:196: error: syntax error before ‘digit’
>>     src/gmpy_binary.c:197: error: syntax error before ‘digit’
>>     src/gmpy_binary.c:199: error: syntax error before ‘digit’
>>     src/gmpy_binary.c:201: error: syntax error before ‘digit’
>>     src/gmpy_binary.c:204: error: request for member ‘now’ in something not a structure or union
>>     src/gmpy_binary.c:206: error: request for member ‘now’ in something not a structure or union
>>     src/gmpy_binary.c:209: error: request for member ‘now’ in something not a structure or union
>>     src/gmpy2.c: At top level:
>>     src/gmpy2.c:426: error: syntax error before ‘*’ token
>>     src/gmpy2.c: In function ‘Pympz2Pympz’:
>>     src/gmpy2.c:429: error: ‘newob’ undeclared (first use in this function)
>>     src/gmpy2.c:433: error: syntax error before ‘)’ token
>>     src/gmpy2.c: At top level:
>>     src/gmpy2.c:437: error: syntax error before ‘*’ token
>>     src/gmpy2.c: In function ‘Pyxmpz2Pyxmpz’:
>>     src/gmpy2.c:440: error: ‘newob’ undeclared (first use in this function)
>>     src/gmpy2.c:444: error: syntax error before ‘)’ token
>>     src/gmpy2.c: At top level:
>>     src/gmpy2.c:448: error: syntax error before ‘*’ token
>>     src/gmpy2.c: In function ‘Pyxmpz2Pympz’:
>>     src/gmpy2.c:451: error: ‘newob’ undeclared (first use in this function)
>>     src/gmpy2.c:455: error: syntax error before ‘)’ token
>>     src/gmpy2.c: At top level:
>>     src/gmpy2.c:459: error: syntax error before ‘*’ token
>>     src/gmpy2.c: In function ‘Pympz2Pyxmpz’:
>>     src/gmpy2.c:462: error: ‘newob’ undeclared (first use in this function)
>>     src/gmpy2.c:466: error: syntax error before ‘)’ token
>>     src/gmpy2.c: At top level:
>>     src/gmpy2.c:470: error: syntax error before ‘*’ token
>>     src/gmpy2.c: In function ‘Pympq2Pympq’:
>>     src/gmpy2.c:473: error: ‘newob’ undeclared (first use in this function)
>>     src/gmpy2.c:451: error: ‘newob’ undeclared (first use in this function)src/gmpy2.c:477: error: syntax error before ‘)’ token
>>
>>     src/gmpy2.c: At top level:
>>     src/gmpy2.c:482: error: syntax error before ‘*’ token
>>     src/gmpy2.c: In function ‘PyInt2Pympz’:
>>     src/gmpy2.c:485: error: ‘newob’ undeclared (first use in this function)
>>     src/gmpy2.c: At top level:
>>     src/gmpy2.c:493: error: syntax error before ‘*’ token
>>     src/gmpy2.c: In function ‘PyInt2Pyxmpz’:
>>     src/gmpy2.c:496: error: ‘newob’ undeclared (first use in this function)
>>     src/gmpy2.c:455: error: syntax error before ‘)’ token
>>     src/gmpy2.c: At top level:
>>     src/gmpy2.c:504: error: syntax error before ‘*’ token
>>     src/gmpy2.c: In function ‘PyInt2Pympq’:
>>     src/gmpy2.c:507: error: ‘newob’ undeclared (first use in this function)
>>     src/gmpy2.c: At top level:
>>     src/gmpy2.c:516: error: syntax error before ‘*’ token
>>     src/gmpy2.c: In function ‘PyFloat2Pympz’:
>>     src/gmpy2.c:519: error: ‘newob’ undeclared (first use in this function)
>>     src/gmpy2.c: At top level:
>>     src/gmpy2.c:459: error: syntax error before ‘*’ token
>>     src/gmpy2.c: In function ‘Pympz2Pyxmpz’:
>>     src/gmpy2.c:462: error: ‘newob’ undeclared (first use in this function)
>>     src/gmpy2.c: At top level:
>>     src/gmpy2.c:539: error: syntax error before ‘*’ token
>>     src/gmpy2.c:466: error: syntax error before ‘)’ token
>>     src/gmpy2.c: In function ‘PyFloat2Pyxmpz’:
>>     src/gmpy2.c:542: error: ‘newob’ undeclared (first use in this function)
>>     src/gmpy2.c: At top level:
>>     src/gmpy2.c:470: error: syntax error before ‘*’ token
>>     src/gmpy2.c: In function ‘Pympq2Pympq’:src/gmpy2.c: At top level:
>>
>>     src/gmpy2.c:562: error: syntax error before ‘*’ token
>>     src/gmpy2.c:473: error: ‘newob’ undeclared (first use in this function)src/gmpy2.c: In function ‘Pympz2Pympq’:
>>
>>     src/gmpy2.c:565: error: ‘newob’ undeclared (first use in this function)
>>     src/gmpy2.c:569: error: syntax error before ‘)’ token
>>     src/gmpy2.c: At top level:
>>     src/gmpy2.c:573: error: syntax error before ‘*’ token
>>     src/gmpy2.c:477: error: syntax error before ‘)’ token
>>     src/gmpy2.c: In function ‘Pyxmpz2Pympq’:
>>     src/gmpy2.c:576: error: ‘newob’ undeclared (first use in this function)
>>     src/gmpy2.c:580: error: syntax error before ‘)’ token
>>     src/gmpy2.c: At top level:
>>     src/gmpy2.c:584: error: syntax error before ‘*’ token
>>     src/gmpy2.c: In function ‘Pympq2Pympz’:
>>     src/gmpy2.c:587: error: ‘newob’ undeclared (first use in this function)src/gmpy2.c: At top level:
>>
>>     src/gmpy2.c:591: error: syntax error before ‘)’ tokensrc/gmpy2.c:482: error: syntax error before ‘*’ token
>>
>>     src/gmpy2.c: At top level:
>>     src/gmpy2.c:595: error: syntax error before ‘*’ token
>>     src/gmpy2.c: In function ‘PyInt2Pympz’:src/gmpy2.c: In function ‘Pympq2Pyxmpz’:
>>
>>     src/gmpy2.c:598: error: ‘newob’ undeclared (first use in this function)
>>     src/gmpy2.c:485: error: ‘newob’ undeclared (first use in this function)
>>     src/gmpy2.c:602: error: syntax error before ‘)’ token
>>     src/gmpy2.c: At top level:
>>     src/gmpy2.c:609: error: syntax error before ‘*’ token
>>     src/gmpy2.c: In function ‘PyLong2Pympz’:
>>     src/gmpy2.c:612: error: ‘newob’ undeclared (first use in this function)
>>     src/gmpy2.c:615: error: syntax error before ‘)’ token
>>     src/gmpy2.c: At top level:
>>     src/gmpy2.c:619: error: syntax error before ‘*’ token
>>     src/gmpy2.c: In function ‘PyLong2Pyxmpz’:
>>     src/gmpy2.c:622: error: ‘newob’ undeclared (first use in this function)
>>     src/gmpy2.c: At top level:
>>     src/gmpy2.c:493: error: syntax error before ‘*’ token
>>     src/gmpy2.c: In function ‘PyInt2Pyxmpz’:
>>     src/gmpy2.c:496: error: ‘newob’ undeclared (first use in this function)
>>     src/gmpy2.c: At top level:
>>     src/gmpy2.c:625: error: syntax error before ‘)’ tokensrc/gmpy2.c:504: error: syntax error before ‘*’ token
>>
>>     src/gmpy2.c: In function ‘PyInt2Pympq’:
>>     src/gmpy2.c:507: error: ‘newob’ undeclared (first use in this function)
>>     src/gmpy2.c: At top level:
>>     src/gmpy2.c:516: error: syntax error before ‘*’ token
>>     src/gmpy2.c: At top level:
>>     src/gmpy2.c: In function ‘PyFloat2Pympz’:
>>     src/gmpy2.c:519: error: ‘newob’ undeclared (first use in this function)
>>     src/gmpy2.c:629: error: syntax error before ‘*’ token
>>     src/gmpy2.c: In function ‘PyLong2Pympq’:
>>     src/gmpy2.c:632: error: ‘newob’ undeclared (first use in this function)
>>     src/gmpy2.c: At top level:
>>     src/gmpy2.c:539: error: syntax error before ‘*’ token
>>     src/gmpy2.c: In function ‘PyFloat2Pyxmpz’:
>>     src/gmpy2.c:542: error: ‘newob’ undeclared (first use in this function)
>>     src/gmpy2.c: At top level:
>>     src/gmpy2.c:562: error: syntax error before ‘*’ token
>>     src/gmpy2.c: In function ‘Pympz2Pympq’:
>>     src/gmpy2.c:565: error: ‘newob’ undeclared (first use in this function)
>>     src/gmpy2.c:569: error: syntax error before ‘)’ token
>>     src/gmpy2.c: At top level:
>>     src/gmpy2.c:573: error: syntax error before ‘*’ token
>>     src/gmpy2.c: In function ‘Pyxmpz2Pympq’:
>>     src/gmpy2.c:576: error: ‘newob’ undeclared (first use in this function)
>>     src/gmpy2.c: At top level:
>>     src/gmpy2.c:580: error: syntax error before ‘)’ token
>>     src/gmpy2.c:642: error: syntax error before ‘*’ token
>>     src/gmpy2.c: At top level:
>>     src/gmpy2.c:584: error: syntax error before ‘*’ token
>>     src/gmpy2.c: In function ‘Pympq2Pympz’:
>>     src/gmpy2.c:587: error: ‘newob’ undeclared (first use in this function)
>>     src/gmpy2.c: In function ‘PyFloat2Pympq’:
>>     src/gmpy2.c:591: error: syntax error before ‘)’ token
>>     src/gmpy2.c:645: error: ‘newob’ undeclared (first use in this function)
>>     src/gmpy2.c: At top level:
>>     src/gmpy2.c:595: error: syntax error before ‘*’ token
>>     src/gmpy2.c: In function ‘Pympq2Pyxmpz’:
>>     src/gmpy2.c:598: error: ‘newob’ undeclared (first use in this function)
>>     src/gmpy2.c:602: error: syntax error before ‘)’ token
>>     src/gmpy2.c: At top level:
>>     src/gmpy2.c:609: error: syntax error before ‘*’ token
>>     src/gmpy2.c: In function ‘PyLong2Pympz’:
>>     src/gmpy2.c:612: error: ‘newob’ undeclared (first use in this function)
>>     src/gmpy2.c:615: error: syntax error before ‘)’ token
>>     src/gmpy2.c: At top level:
>>     src/gmpy2.c:619: error: syntax error before ‘*’ token
>>     src/gmpy2.c: In function ‘PyLong2Pyxmpz’:
>>     src/gmpy2.c:622: error: ‘newob’ undeclared (first use in this function)
>>     src/gmpy2.c:625: error: syntax error before ‘)’ token
>>     src/gmpy2.c: At top level:
>>     src/gmpy2.c:629: error: syntax error before ‘*’ token
>>     src/gmpy2.c: In function ‘PyLong2Pympq’:
>>     src/gmpy2.c:632: error: ‘newob’ undeclared (first use in this function)
>>     src/gmpy2.c: At top level:
>>     src/gmpy2.c:642: error: syntax error before ‘*’ token
>>     src/gmpy2.c: In function ‘PyFloat2Pympq’:
>>     src/gmpy2.c:645: error: ‘newob’ undeclared (first use in this function)
>>     src/gmpy2.c: At top level:
>>     src/gmpy2.c:677: error: syntax error before ‘z’
>>     src/gmpy2.c: At top level:
>>     src/gmpy2.c:677: error: syntax error before ‘z’
>>     src/gmpy2.c: In function ‘mpz_set_PyStr’:
>>     src/gmpy2.c:686: error: ‘s’ undeclared (first use in this function)src/gmpy2.c: In function ‘mpz_set_PyStr’:
>>     src/gmpy2.c:686: error: ‘s’ undeclared (first use in this function)
>>     src/gmpy2.c:709: error: ‘base’ undeclared (first use in this function)
>>     src/gmpy2.c:731: error: ‘z’ undeclared (first use in this function)
>>     src/gmpy2.c: At top level:
>>
>>     src/gmpy2.c:740: error: syntax error before ‘*’ token
>>     src/gmpy2.c: In function ‘PyStr2Pympz’:
>>     src/gmpy2.c:743: error: ‘newob’ undeclared (first use in this function)
>>     src/gmpy2.c: At top level:
>>     src/gmpy2.c:755: error: syntax error before ‘*’ token
>>     src/gmpy2.c:709: error: ‘base’ undeclared (first use in this function)
>>     src/gmpy2.c: In function ‘PyStr2Pyxmpz’:
>>     src/gmpy2.c:758: error: ‘newob’ undeclared (first use in this function)
>>     src/gmpy2.c:731: error: ‘z’ undeclared (first use in this function)
>>     src/gmpy2.c: At top level:
>>     src/gmpy2.c:783: error: syntax error before ‘*’ token
>>     src/gmpy2.c: In function ‘PyStr2Pympq’:
>>     src/gmpy2.c:786: error: ‘newob’ undeclared (first use in this function)
>>     src/gmpy2.c: At top level:
>>     src/gmpy2.c:740: error: syntax error before ‘*’ token
>>     src/gmpy2.c: In function ‘PyStr2Pympz’:
>>     src/gmpy2.c:743: error: ‘newob’ undeclared (first use in this function)
>>     src/gmpy2.c: At top level:
>>     src/gmpy2.c:755: error: syntax error before ‘*’ token
>>     src/gmpy2.c: In function ‘PyStr2Pyxmpz’:
>>     src/gmpy2.c:758: error: ‘newob’ undeclared (first use in this function)
>>     src/gmpy2.c: At top level:
>>     src/gmpy2.c:783: error: syntax error before ‘*’ tokensrc/gmpy2.c:858: error: syntax error before ‘)’ token
>>
>>     src/gmpy2.c: In function ‘PyStr2Pympq’:
>>     src/gmpy2.c: At top level:
>>     src/gmpy2.c:898: error: syntax error before ‘*’ token
>>     src/gmpy2.c: In function ‘Pympz2PyLong’:
>>     src/gmpy2.c:900: error: syntax error before ‘)’ token
>>     src/gmpy2.c:786: error: ‘newob’ undeclared (first use in this function)
>>     src/gmpy2.c:900: error: ‘self’ undeclared (first use in this function)
>>     src/gmpy2.c: At top level:
>>     src/gmpy2.c:904: error: syntax error before ‘*’ token
>>     src/gmpy2.c: In function ‘Pyxmpz2PyLong’:
>>     src/gmpy2.c:906: error: syntax error before ‘)’ token
>>     src/gmpy2.c:906: error: ‘self’ undeclared (first use in this function)
>>     src/gmpy2.c: At top level:
>>     src/gmpy2.c:910: error: syntax error before ‘*’ token
>>     src/gmpy2.c: In function ‘Pympq2PyLong’:
>>     src/gmpy2.c:913: error: ‘temp’ undeclared (first use in this function)
>>     src/gmpy2.c:913: error: ‘self’ undeclared (first use in this function)
>>     src/gmpy2.c: At top level:
>>     src/gmpy2.c:923: error: syntax error before ‘*’ token
>>     src/gmpy2.c: In function ‘Pympz_To_Integer’:
>>     src/gmpy2.c:928: error: ‘self’ undeclared (first use in this function)
>>     src/gmpy2.c: At top level:
>>     src/gmpy2.c:936: error: syntax error before ‘*’ token
>>     src/gmpy2.c: In function ‘Pyxmpz_To_Integer’:
>>     src/gmpy2.c:941: error: ‘self’ undeclared (first use in this function)
>>     src/gmpy2.c: At top level:
>>     src/gmpy2.c:950: error: syntax error before ‘*’ token
>>     src/gmpy2.c: In function ‘Pympq2PyInt’:
>>     src/gmpy2.c:953: error: ‘temp’ undeclared (first use in this function)
>>     src/gmpy2.c:953: error: ‘self’ undeclared (first use in this function)
>>     src/gmpy2.c: At top level:
>>     src/gmpy2.c:964: error: syntax error before ‘*’ token
>>     src/gmpy2.c: In function ‘Pympz2PyFloat’:
>>     src/gmpy2.c:966: error: ‘self’ undeclared (first use in this function)
>>     src/gmpy2.c: At top level:
>>     src/gmpy2.c:972: error: syntax error before ‘*’ tokensrc/gmpy2.c:858: error: syntax error before ‘)’ token
>>     src/gmpy2.c: At top level:
>>     src/gmpy2.c:898: error: syntax error before ‘*’ token
>>     src/gmpy2.c: In function ‘Pympz2PyLong’:
>>     src/gmpy2.c:900: error: syntax error before ‘)’ token
>>     src/gmpy2.c:900: error: ‘self’ undeclared (first use in this function)
>>     src/gmpy2.c: At top level:
>>     src/gmpy2.c:904: error: syntax error before ‘*’ token
>>     src/gmpy2.c: In function ‘Pyxmpz2PyLong’:
>>     src/gmpy2.c:906: error: syntax error before ‘)’ token
>>
>>     src/gmpy2.c: In function ‘Pympq2PyFloat’:
>>     src/gmpy2.c:974: error: ‘self’ undeclared (first use in this function)
>>     src/gmpy2.c: At top level:
>>     src/gmpy2.c:986: error: syntax error before ‘z’
>>     src/gmpy2.c: In function ‘mpz2binary’:
>>     src/gmpy2.c:993: error: ‘z’ undeclared (first use in this function)
>>     src/gmpy2.c: At top level:
>>     src/gmpy2.c:1022: error: syntax error before ‘*’ token
>>     src/gmpy2.c: In function ‘Pympz2binary’:
>>     src/gmpy2.c:1024: error: ‘self’ undeclared (first use in this function)
>>     src/gmpy2.c: At top level:
>>     src/gmpy2.c:1028: error: syntax error before ‘*’ token
>>     src/gmpy2.c: In function ‘Pyxmpz2binary’:
>>     src/gmpy2.c:1030: error: ‘self’ undeclared (first use in this function)
>>     src/gmpy2.c: At top level:
>>     src/gmpy2.c:1040: error: syntax error before ‘*’ token
>>     src/gmpy2.c: In function ‘Pympq2binary’:
>>     src/gmpy2.c:1048: error: ‘self’ undeclared (first use in this function)
>>     src/gmpy2.c: At top level:
>>     src/gmpy2.c:1097: error: syntax error before ‘z’
>>     src/gmpy2.c: In function ‘mpz_ascii’:
>>     src/gmpy2.c:1104: error: ‘base’ undeclared (first use in this function)
>>     src/gmpy2.c:1119: error: ‘z’ undeclared (first use in this function)
>>     src/gmpy2.c:1128: error: ‘option’ undeclared (first use in this function)
>>     src/gmpy2.c: At top level:
>>     src/gmpy2.c:1208: error: syntax error before ‘z’
>>     src/gmpy2.c: In function ‘xmpz_ascii’:
>>     src/gmpy2.c:1215: error: ‘base’ undeclared (first use in this function)
>>     src/gmpy2.c:1230: error: ‘z’ undeclared (first use in this function)
>>     src/gmpy2.c:1239: error: ‘option’ undeclared (first use in this function)
>>     src/gmpy2.c:906: error: ‘self’ undeclared (first use in this function)
>>     src/gmpy2.c: At top level:
>>     src/gmpy2.c:910: error: syntax error before ‘*’ token
>>     src/gmpy2.c: In function ‘Pympq2PyLong’:
>>     src/gmpy2.c:913: error: ‘temp’ undeclared (first use in this function)
>>     src/gmpy2.c:913: error: ‘self’ undeclared (first use in this function)
>>     src/gmpy2.c: At top level:
>>     src/gmpy2.c:1313: error: syntax error before ‘*’ token
>>     src/gmpy2.c: At top level:src/gmpy2.c: In function ‘Pympz_ascii’:
>>
>>     src/gmpy2.c:923: error: syntax error before ‘*’ token
>>     src/gmpy2.c: In function ‘Pympz_To_Integer’:
>>     src/gmpy2.c:928: error: ‘self’ undeclared (first use in this function)
>>     src/gmpy2.c: At top level:
>>     src/gmpy2.c:936: error: syntax error before ‘*’ token
>>     src/gmpy2.c: In function ‘Pyxmpz_To_Integer’:
>>     src/gmpy2.c:941: error: ‘self’ undeclared (first use in this function)
>>     src/gmpy2.c: At top level:
>>     src/gmpy2.c:950: error: syntax error before ‘*’ token
>>     src/gmpy2.c: In function ‘Pympq2PyInt’:
>>     src/gmpy2.c:953: error: ‘temp’ undeclared (first use in this function)
>>     src/gmpy2.c:953: error: ‘self’ undeclared (first use in this function)
>>     src/gmpy2.c: At top level:
>>     src/gmpy2.c:964: error: syntax error before ‘*’ token
>>     src/gmpy2.c: In function ‘Pympz2PyFloat’:
>>     src/gmpy2.c:966: error: ‘self’ undeclared (first use in this function)
>>     src/gmpy2.c: At top level:
>>     src/gmpy2.c:972: error: syntax error before ‘*’ token
>>     src/gmpy2.c: In function ‘Pympq2PyFloat’:
>>     src/gmpy2.c:974: error: ‘self’ undeclared (first use in this function)
>>     src/gmpy2.c: At top level:
>>     src/gmpy2.c:986: error: syntax error before ‘z’
>>     src/gmpy2.c: In function ‘mpz2binary’:
>>     src/gmpy2.c:993: error: ‘z’ undeclared (first use in this function)
>>     src/gmpy2.c: At top level:
>>     src/gmpy2.c:1022: error: syntax error before ‘*’ token
>>     src/gmpy2.c: In function ‘Pympz2binary’:
>>     src/gmpy2.c:1024: error: ‘self’ undeclared (first use in this function)
>>     src/gmpy2.c: At top level:
>>     src/gmpy2.c:1028: error: syntax error before ‘*’ token
>>     src/gmpy2.c: In function ‘Pyxmpz2binary’:
>>     src/gmpy2.c:1030: error: ‘self’ undeclared (first use in this function)
>>     src/gmpy2.c: At top level:
>>     src/gmpy2.c:1040: error: syntax error before ‘*’ token
>>     src/gmpy2.c: In function ‘Pympq2binary’:
>>     src/gmpy2.c:1048: error: ‘self’ undeclared (first use in this function)
>>     src/gmpy2.c: At top level:
>>     src/gmpy2.c:1097: error: syntax error before ‘z’
>>     src/gmpy2.c: In function ‘mpz_ascii’:
>>     src/gmpy2.c:1104: error: ‘base’ undeclared (first use in this function)
>>     src/gmpy2.c:1119: error: ‘z’ undeclared (first use in this function)
>>     src/gmpy2.c:1128: error: ‘option’ undeclared (first use in this function)
>>     src/gmpy2.c: At top level:
>>     src/gmpy2.c:1208: error: syntax error before ‘z’
>>     src/gmpy2.c: In function ‘xmpz_ascii’:
>>     src/gmpy2.c:1215: error: ‘base’ undeclared (first use in this function)
>>     src/gmpy2.c:1230: error: ‘z’ undeclared (first use in this function)
>>     src/gmpy2.c:1239: error: ‘option’ undeclared (first use in this function)
>>     src/gmpy2.c: At top level:
>>     src/gmpy2.c:1313: error: syntax error before ‘*’ token
>>     src/gmpy2.c: In function ‘Pympz_ascii’:
>>     src/gmpy2.c:1315: error: ‘self’ undeclared (first use in this function)
>>     src/gmpy2.c:1315: error: ‘base’ undeclared (first use in this function)
>>     src/gmpy2.c:1315: error: ‘option’ undeclared (first use in this function)
>>     src/gmpy2.c: At top level:
>>     src/gmpy2.c:1319: error: syntax error before ‘*’ token
>>     src/gmpy2.c: In function ‘Pyxmpz_ascii’:
>>     src/gmpy2.c:1321: error: ‘self’ undeclared (first use in this function)
>>     src/gmpy2.c:1321: error: ‘base’ undeclared (first use in this function)
>>     src/gmpy2.c:1321: error: ‘option’ undeclared (first use in this function)
>>     src/gmpy2.c: At top level:
>>     src/gmpy2.c:1324: error: syntax error before ‘q’
>>     src/gmpy2.c: In function ‘qden_1’:
>>     src/gmpy2.c:1326: error: ‘q’ undeclared (first use in this function)
>>     src/gmpy2.c: At top level:
>>     src/gmpy2.c:1330: error: syntax error before ‘*’ token
>>     src/gmpy2.c: In function ‘Pympq_ascii’:
>>     src/gmpy2.c:1335: error: ‘self’ undeclared (first use in this function)
>>     src/gmpy2.c:1335: error: ‘base’ undeclared (first use in this function)
>>     src/gmpy2.c:1342: error: ‘option’ undeclared (first use in this function)
>>     src/gmpy2.c:1315: error: ‘self’ undeclared (first use in this function)
>>     src/gmpy2.c:1315: error: ‘base’ undeclared (first use in this function)
>>     src/gmpy2.c:1315: error: ‘option’ undeclared (first use in this function)
>>     src/gmpy2.c: At top level:
>>     src/gmpy2.c:1319: error: syntax error before ‘*’ token
>>     src/gmpy2.c: In function ‘Pyxmpz_ascii’:
>>     src/gmpy2.c:1321: error: ‘self’ undeclared (first use in this function)
>>     src/gmpy2.c:1321: error: ‘base’ undeclared (first use in this function)
>>     src/gmpy2.c:1321: error: ‘option’ undeclared (first use in this function)
>>     src/gmpy2.c: At top level:
>>     src/gmpy2.c:1324: error: syntax error before ‘q’
>>     src/gmpy2.c: In function ‘qden_1’:
>>     src/gmpy2.c:1326: error: ‘q’ undeclared (first use in this function)
>>     src/gmpy2.c: At top level:
>>     src/gmpy2.c:1330: error: syntax error before ‘*’ token
>>     src/gmpy2.c: In function ‘Pympq_ascii’:
>>     src/gmpy2.c:1335: error: ‘self’ undeclared (first use in this function)
>>     src/gmpy2.c:1335: error: ‘base’ undeclared (first use in this function)
>>     src/gmpy2.c:1342: error: ‘option’ undeclared (first use in this function)
>>     src/gmpy2.c: At top level:
>>     src/gmpy2.c:1499: error: syntax error before ‘*’ token
>>     src/gmpy2.c: In function ‘anynum2Pympq’:
>>     src/gmpy2.c:1502: error: ‘newob’ undeclared (first use in this function)
>>     src/gmpy2.c:1506: error: syntax error before ‘)’ token
>>     src/gmpy2.c: At top level:
>>     src/gmpy2.c:1554: error: syntax error before ‘*’ token
>>     src/gmpy2.c: In function ‘Pympq_From_Rational’:
>>     src/gmpy2.c:1557: error: ‘newob’ undeclared (first use in this function)
>>     src/gmpy2.c:1561: error: syntax error before ‘)’ token
>>     src/gmpy2.c: At top level:
>>     src/gmpy2.c:1592: error: syntax error before ‘*’ token
>>     src/gmpy2.c: In function ‘anynum2Pympz’:
>>     src/gmpy2.c:1595: error: ‘newob’ undeclared (first use in this function)
>>     src/gmpy2.c:1596: error: ‘temp’ undeclared (first use in this function)
>>     src/gmpy2.c:1600: error: syntax error before ‘)’ token
>>     src/gmpy2.c: At top level:
>>     src/gmpy2.c:1646: error: syntax error before ‘*’ token
>>     src/gmpy2.c: In function ‘anynum2Pyxmpz’:
>>     src/gmpy2.c:1649: error: ‘newob’ undeclared (first use in this function)
>>     src/gmpy2.c:1650: error: ‘temp’ undeclared (first use in this function)
>>     src/gmpy2.c: At top level:
>>     src/gmpy2.c:1706: error: syntax error before ‘*’ token
>>     src/gmpy2.c: In function ‘Pympz_From_Integer’:
>>     src/gmpy2.c:1709: error: ‘newob’ undeclared (first use in this function)
>>     src/gmpy2.c:1713: error: syntax error before ‘)’ token
>>     src/gmpy2.c: In function ‘clong_From_Integer’:
>>     src/gmpy2.c:1754: error: syntax error before ‘)’ token
>>     src/gmpy2.c:1755: error: syntax error before ‘)’ token
>>     src/gmpy2.c: In function ‘ssize_t_From_Integer’:
>>     src/gmpy2.c:1784: error: syntax error before ‘)’ token
>>     src/gmpy2.c:1785: error: syntax error before ‘)’ token
>>     src/gmpy2.c:1789: error: syntax error before ‘)’ token
>>     src/gmpy2.c: In function ‘Pympz_convert_arg’:
>>     src/gmpy2.c:1811: error: ‘newob’ undeclared (first use in this function)
>>     src/gmpy2.c: At top level:src/gmpy2.c: In function ‘Pympq_convert_arg’:
>>     src/gmpy2.c:1833: error: ‘newob’ undeclared (first use in this function)
>>     src/gmpy2.c: At top level:
>>     src/gmpy2.c:1852: error: syntax error before ‘*’ token
>>     src/gmpy2.c: In function ‘Pympz2str’:
>>     src/gmpy2.c:1855: error: ‘self’ undeclared (first use in this function)
>>     src/gmpy2.c: At top level:
>>     src/gmpy2.c:1859: error: syntax error before ‘*’ token
>>     src/gmpy2.c: In function ‘Pympz2repr’:
>>
>>     src/gmpy2.c:1862: error: ‘self’ undeclared (first use in this function)
>>     src/gmpy2.c:1499: error: syntax error before ‘*’ token
>>     src/gmpy2.c: At top level:
>>     src/gmpy2.c:1867: error: syntax error before ‘*’ token
>>     src/gmpy2.c: In function ‘Pyxmpz2str’:
>>     src/gmpy2.c:1870: error: ‘self’ undeclared (first use in this function)
>>     src/gmpy2.c: In function ‘anynum2Pympq’:
>>     src/gmpy2.c: At top level:src/gmpy2.c:1502: error: ‘newob’ undeclared (first use in this function)
>>
>>     src/gmpy2.c:1874: error: syntax error before ‘*’ token
>>     src/gmpy2.c: In function ‘Pyxmpz2repr’:
>>     src/gmpy2.c:1877: error: ‘self’ undeclared (first use in this function)
>>     src/gmpy2.c:1506: error: syntax error before ‘)’ tokensrc/gmpy2.c: At top level:
>>     src/gmpy2.c:1882: error: syntax error before ‘*’ token
>>     src/gmpy2.c: In function ‘Pympq2str’:
>>     src/gmpy2.c:1885: error: ‘self’ undeclared (first use in this function)
>>     src/gmpy2.c: At top level:
>>     src/gmpy2.c:1889: error: syntax error before ‘*’ token
>>     src/gmpy2.c: In function ‘Pympq2repr’:
>>     src/gmpy2.c:1892: error: ‘self’ undeclared (first use in this function)
>>     src/gmpy2.c: In function ‘Pygmpy_mpz’:
>>     src/gmpy2.c:1909: error: ‘result’ undeclared (first use in this function)
>>
>>     src/gmpy2.c: In function ‘Pygmpy_xmpz’:
>>     src/gmpy2.c:1973: error: ‘result’ undeclared (first use in this function)
>>     src/gmpy2.c: At top level:
>>     src/gmpy2.c:1554: error: syntax error before ‘*’ token
>>     src/gmpy2.c: In function ‘Pympq_From_Rational’:
>>     src/gmpy2.c:1557: error: ‘newob’ undeclared (first use in this function)
>>     src/gmpy2.c:1561: error: syntax error before ‘)’ token
>>     src/gmpy2.c: In function ‘Pygmpy_mpq’:
>>     src/gmpy2.c:2037: error: ‘result’ undeclared (first use in this function)
>>     src/gmpy2.c:2037: error: ‘temp’ undeclared (first use in this function)
>>     src/gmpy2.c: At top level:
>>     src/gmpy2.c:1592: error: syntax error before ‘*’ token
>>     src/gmpy2.c: In function ‘anynum2Pympz’:
>>     src/gmpy2.c:1595: error: ‘newob’ undeclared (first use in this function)
>>     src/gmpy2.c:1596: error: ‘temp’ undeclared (first use in this function)
>>     src/gmpy2.c:1600: error: syntax error before ‘)’ token
>>     src/gmpy2.c: At top level:
>>     src/gmpy2.c:1646: error: syntax error before ‘*’ token
>>     src/gmpy2.c: In function ‘anynum2Pyxmpz’:
>>     src/gmpy2.c:1649: error: ‘newob’ undeclared (first use in this function)
>>     src/gmpy2.c:1650: error: ‘temp’ undeclared (first use in this function)
>>     In file included from src/gmpy2.c:2120:
>>     src/gmpy_mpz.c: In function ‘Pympz_digits’:
>>     src/gmpy_mpz.c:42: error: syntax error before ‘)’ token
>>     src/gmpy2.c: At top level:
>>     src/gmpy2.c:1706: error: syntax error before ‘*’ token
>>     src/gmpy2.c: In function ‘Pympz_From_Integer’:
>>     src/gmpy2.c:1709: error: ‘newob’ undeclared (first use in this function)
>>     src/gmpy2.c:1713: error: syntax error before ‘)’ token
>>     src/gmpy_mpz.c: In function ‘Pyxmpz_digits’:
>>     src/gmpy_mpz.c:55: error: syntax error before ‘)’ token
>>     src/gmpy2.c: In function ‘clong_From_Integer’:
>>     src/gmpy2.c:1754: error: syntax error before ‘)’ token
>>     src/gmpy2.c:1755: error: syntax error before ‘)’ token
>>     src/gmpy2.c: In function ‘ssize_t_From_Integer’:
>>     src/gmpy2.c:1784: error: syntax error before ‘)’ token
>>     src/gmpy2.c:1785: error: syntax error before ‘)’ token
>>     src/gmpy2.c:1789: error: syntax error before ‘)’ token
>>     src/gmpy2.c: In function ‘Pympz_convert_arg’:
>>     src/gmpy2.c:1811: error: ‘newob’ undeclared (first use in this function)
>>     src/gmpy_mpz.c: In function ‘Pympz_numdigits’:
>>     src/gmpy_mpz.c:89: error: syntax error before ‘)’ token
>>     src/gmpy2.c: In function ‘Pympq_convert_arg’:
>>     src/gmpy2.c:1833: error: ‘newob’ undeclared (first use in this function)
>>     src/gmpy2.c: At top level:
>>     src/gmpy2.c:1852: error: syntax error before ‘*’ token
>>     src/gmpy2.c: In function ‘Pympz2str’:
>>     src/gmpy2.c:1855: error: ‘self’ undeclared (first use in this function)
>>     src/gmpy2.c: At top level:
>>     src/gmpy2.c:1859: error: syntax error before ‘*’ token
>>     src/gmpy2.c: In function ‘Pympz2repr’:
>>     src/gmpy2.c:1862: error: ‘self’ undeclared (first use in this function)
>>     src/gmpy2.c: At top level:
>>     src/gmpy2.c:1867: error: syntax error before ‘*’ token
>>     src/gmpy2.c: In function ‘Pyxmpz2str’:
>>     src/gmpy2.c:1870: error: ‘self’ undeclared (first use in this function)
>>     src/gmpy2.c: At top level:
>>     src/gmpy2.c:1874: error: syntax error before ‘*’ token
>>     src/gmpy2.c: In function ‘Pyxmpz2repr’:
>>     src/gmpy2.c:1877: error: ‘self’ undeclared (first use in this function)
>>     src/gmpy2.c: At top level:
>>     src/gmpy2.c:1882: error: syntax error before ‘*’ token
>>     src/gmpy2.c: In function ‘Pympq2str’:
>>     src/gmpy2.c:1885: error: ‘self’ undeclared (first use in this function)
>>     src/gmpy2.c: At top level:
>>     src/gmpy2.c:1889: error: syntax error before ‘*’ token
>>     src/gmpy2.c: In function ‘Pympq2repr’:
>>     src/gmpy2.c:1892: error: ‘self’ undeclared (first use in this function)
>>     src/gmpy2.c: In function ‘Pygmpy_mpz’:
>>     src/gmpy2.c:1909: error: ‘result’ undeclared (first use in this function)
>>     src/gmpy_mpz.c: In function ‘Pympz_bit_length’:
>>     src/gmpy_mpz.c:107: error: ‘tempx’ undeclared (first use in this function)
>>     src/gmpy_mpz.c:110: error: syntax error before ‘)’ token
>>     src/gmpy_mpz.c:111: error: syntax error before ‘)’ token
>>     src/gmpy_mpz.c:114: error: syntax error before ‘)’ token
>>     src/gmpy_mpz.c:115: error: syntax error before ‘)’ token
>>     src/gmpy_mpz.c:123: error: syntax error before ‘)’ token
>>     src/gmpy_mpz.c: In function ‘Pympz_bit_mask’:
>>     src/gmpy_mpz.c:139: error: ‘result’ undeclared (



More information about the testing-in-python mailing list