From: Heiko G. <hg...@te...> - 2003-10-10 00:20:12
|
On Thursday 09 October 2003 22:23, Danny Smith wrote: > > Hi, the warning is caused by the definition of test() function > after being declared as dllimport. Any definition (inline or not) > causes loss of the dllimport attribute. If we don't get rid > of their are other problems than can occur if we decorate the symbol > with __imp__ and then define it and then use it. MS seems to allow a > function to be both dllimport'd and defined inline, treating it like > GCC's 'extern inline' syntax. (Use the inline version if possible. else > use the external reference) G++ has problems with it. > > The whole dllimport stuff is still a mess for C++ classes. I'll see if > I can at least clean up ther diagnostic so that it makes more sense. Thank you very much, Danny. Greetings Heiko |