initializer element is not constant

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

>From another list:
-------start quote---------
> GMP.xs: In function `XS_GMP__Mpz_overload_add':
> GMP.xs:1229: initializer element is not constant
> GMP.xs:1229: (near initialization for `table[0].op')

Hmm, yep, DLL imported functions don't work in initializers.
------end quote---------

I'm using gcc (version 2.95.2) on win32 to try to build the GMP (perl)
module that ships with GMP source.
It occurs to me that, perhaps, in more recent versions of 'gcc', things may
have changed to the extent that DLL imported functions will work in
initializers. Is that the case ?

Cheers,
Rob


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux