CVS: [MW] wxWidgets/src/common tarstrm.cpp,NONE,1.1
ABX
abx at abx.art.pl
Fri Oct 27 07:14:03 PDT 2006
anonymous at sunsite.dk:
> Add tar streams.
There is wxCOMPILE_TIME_ASSERT() in line 185. wxCOMPILE_TIME_ASSERT is defined
differently in Watcom. It's class which has problem with access to private
fields you used to do assert.
As far as I understand this code is for guarding programming errors so it
could not be bad to just do #ifndef __WATCOMC__ aroun assert because other
compilers will perform this check. If not, then we need to do something with
access to private fields.
The build error is:
..\..\src\common\tarstrm.cpp(188): Error! E148: col(5) access to private
member 'wxTarHeaderBlock::fields' is not allowed
..\..\src\common\tarstrm.cpp(161): Note! N392: col(36) definition: 'wxTarField
const wxTarHeaderBlock::fields[18]'
ABX
More information about the wx-dev
mailing list