This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

initializer element is not constant


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 Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]