[litwindow-users] operator= no type specified
Status: Alpha
Brought to you by:
hajokirchhoff
From: yrs90 <yr...@ya...> - 2005-04-19 11:42:41
|
I loaded VS Express 2005 Beta 2. It looks like it includes the debug stl libraries. Interestingly, I got the following errors while compiling the LitWindow library. cl : Command line warning D9035 : option 'GX' has been deprecated and will be removed in a future release cl : Command line warning D9036 : use 'EHsc' instead of 'GX' cl : Command line warning D9035 : option 'GZ' has been deprecated and will be removed in a future release cl : Command line warning D9036 : use 'RTC1' instead of 'GZ' cl : Command line warning D9002 : ignoring unknown option '/YXstdafx.h' constraints.cpp lwbase\include\litwindow\dataadapterimp.h(1089) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int lwbase\include\litwindow/constraints.h(507) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int The two errors above are WRT to the type declaration for operator=. Indeed, this needs a type. I wonder why it didn't complain about this with the prior compiler. They are declared private so perhaps you're not using them yet. Presumably dataadapterimp.h(1089) should read schema_base& operator=(const schema_base&); and constraints.h(507) should read constraint_solver& operator=(const constraint_solver&); Well, not exactly a diff... :) Best regards, Joel --- [This E-mail scanned for viruses by Declude Virus] |