[EMAIL PROTECTED] wrote:
Hi Stephan,

Selon Stephan Bergmann <[EMAIL PROTECTED]>:


I'm trying to create a new C++ component implementing css::lang::XMain
interface. However I get the following error at the compilation:

<OOO_SDK>/include/stl/stl/_cwchar.h:161: error: '::wint_t' has not been

declared

I have 4 errors like this one coming from the stl... Do you know what may

be

wrong ? Did I miss to include something ? I wrote my C++ Component and

Makefile

with the ure/source/urestest/Makefile and cppmain.cc files and they looks

very

similar.

What version of GCC are you using?


Gcc 4.0.1... However your remark is really good: I used the wrong c++ includes
(those for gcc 3.3)


Are you using the URE from the SDK
environment (a la uretest/Makefile) or plain (a la uretest/Makefile.mk)?
 What is the exact command line of the failing call to GCC?


I use both because I didn't saw the difference :/ Perhaps it would be good for
me to understand this for further use...

There should be no difference in functionality. However, the SDK build environment works like some kind of wrapper that can be both convenient (if everything works, the wrapper helps you reduce the size of your makefile) and confusing (if something does not work, the wrapper can make it harder to find the real problem). Have your choice.

Now I've got problems with cppu library inclusion to build the shared library os
my component: but with some investigations, I'll get it to work.

Thanks for your help,
Cedric

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to