zippy1981 wrote:
> 
> Jiří,
> 
> Weird. Are you sure that WIN32_WCE=$(CEVER)  in that particular
> project? also is that project targeted to windows ce and is CEVER
> getting defined somewhere? If you can capture the command line the IDE
> runs that generates that error and change the switches to just output
> the source file after the preprocessor is run you might get a better
> idea of what is going on.
> 
> If you can get that  output send it as a nabble attachment like those
> compiler errors and I'll take a look see.
> 
> regards,
> 
> Justin Dearing
> 

Hello Justin,
I examined the command lines and finally I have found out that the cause was
that I didn't know there are separate defines for source compiler and
resource compiler, oops... I'm not very used to Visual Studio yet.

Now I'm stuck at something what is probably very stupid, but I don't know
how to solve it.. There is this in Win32TransService.cpp:

const unsigned int nameBufSz = 1024;
#ifndef WINCE
        char nameBuf[nameBufSz + 1];
#else
        wchar_t nameBuf[nameBufSz + 1]; // <- here point the errors
#endif 

And it says that nameBufSz is undeclared...

http://www.nabble.com/file/p14427808/errors.txt errors.txt 

In the original Xerces there is this:
const unsigned int nameBufSz = 1024;
char nameBuf[nameBufSz + 1];

I don't see much difference in my code and the original... Actually, when I
commented out the ifdefs and kept only the two lines from the original, the
compiler still reported an error. I guess it has to be something very basic
again, but I don't see it... :/

Regards,
Jiří Stránský
-- 
View this message in context: 
http://www.nabble.com/Compiling-Xerces-under-Windows-Mobile-tp14339833p14427808.html
Sent from the Xerces - C - Dev mailing list archive at Nabble.com.


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

Reply via email to