January 05, 2003
It seems that DMC never tries to inline functions if the class was declared with __declspec(dllimport):

struct __declspec(dllimport) A
{
  void f()
  { }
};

int main()
{
  A a;

  a.f();
}


Is there a way to allow the compiler to inline these functions? AFAIK, other compilers do inline these functions.


bye, Christof

-- 
http://cmeerw.org                                 JID: cmeerw@jabber.at mailto cmeerw at web.de

...and what have you contributed to the Net?