bug-commoncpp
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ 600746 ] A few issues on the WIN32 platform


From: Federico Montesino Pouzols
Subject: Re: [ 600746 ] A few issues on the WIN32 platform
Date: Tue, 27 Aug 2002 15:59:25 +0200 (CEST)

 Hi, see comments inline...

>A few issues on the WIN32 platform
>
>Using version 2-1.0.0 and compiling with VC7 (.net) I get
>some compiler warnings:
>
>
>\tools\commoncpp2-1.0.0\src\slog.cpp(68) : warning
>C4355: 'this' : used in base member initializer list
>serial.cpp
>..\include\cc++\serial.h(599) : warning C4275: non dll-
>interface class 'ost::Thread' used as base for dll-
>interface class 'ost::TTYSession'
>..\include\cc++\thread.h(1013) : see declaration
>of 'ost::Thread'
>..\include\cc++\serial.h(598) : see declaration
>of 'ost::TTYSession'
>\tools\commoncpp2-1.0.0\src\serial.cpp(948) : warning
>C4355: 'this' : used in base member initializer list
>\tools\commoncpp2-1.0.0\src\serial.cpp(967) : warning
>C4355: 'this' : used in base member initializer list
>
>c:\tools\commoncpp2-1.0.0\src\keydata.cpp(166) :
>warning C4700: local variable 'icount' used without
>having been initialized

   Umm, I recall having seen similar warnings in VC 6,
This will be fixed soon. The warning related to 'this'
being used in constructor seem harmless.


>******************************************
>
>Also, there seems to be some problems where
>ccgnu2.lib needs ccext2.lib
>
>and vice versa!
>That is, in linker settings for ccext2 ccgnu2 is listed.
>
>And when linking ccgnu2 it cries for some things in
>ccext2!!
>
>Sounds like chicken and the egg to me.
>
>ccgnu2 error LNK2019: unresolved external
>symbol "public: __thiscall ost::URLStream::URLStream
>(unsigned long)" (address@hidden@@address@hidden@Z)
>referenced in function "public: void __thiscall
>ost::URLStream::`default constructor closure'(void)" (??
>address@hidden@@QAEXXZ)
>

   There have been some changes to url.cpp recently, I was
able to compile dll's the last time I tested it however. I
will look at this again.



>*************************************
>
>install.bat still refers to ccgnu5.lib (and .dll)
>

   Oh, yes, it needs to be updated.

>************************************
>The linking settings creates ccgnu2.lib (and .dll) also for
>debug settings. This should be ccgnu2d.lib (the same
>goes for ccext2.lib)

   Ok, will be fixed soon in savannah CVS and for 1.0.1 release.

>******************************************
>
>When compiling an application using cc++ I get some
>warnings:
>
>
>c:\projects\CommonC++\win32\Include\cc++2
>\cc++\strchar.h(123) : warning C4267: 'return' :
>conversion from 'size_t' to 'int', possible loss of data
>
>c:\projects\CommonC++\win32\Include\cc++2
>\cc++\serial.h(599) : warning C4275: non dll-interface
>class 'ost::Thread' used as base for dll-interface
>class 'ost::TTYSession'
>c:\projects\CommonC++\win32\Include\cc++2
>\cc++\thread.h(1013) : see declaration of 'ost::Thread'
>c:\projects\CommonC++\win32\Include\cc++2
>\cc++\serial.h(598) : see declaration of 'ost::TTYSession'

   So you were able to solve the linking error?
   This warnings will be fixed soon too.

   Bye and thanks for your report. It seems there are much less
problems updating to VC .NET that it could be expected :)








reply via email to

[Prev in Thread] Current Thread [Next in Thread]