[Uml-devel] is this correct for gcc 2.96 (fwd)
Jonathan Riddell
jr at jriddell.org
Mon Apr 7 08:05:05 UTC 2003
For your information.
---------- Forwarded message ----------
Date: Mon, 7 Apr 2003 16:49:59 +0200
From: Willy De la Court <Willy.DelaCourt at pandora.be>
Reply-To: kde-devel at kde.org
To: kde-devel at kde.org
Subject: is this correct for gcc 2.96
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
main()
{
enum TextFlags { Bold = 0x1, Italics = 0x2, Underline = 0x4 };
TextFlags test;
test = 0;
}
these constructs are being used in kdesdk/umbrello/umbrello/diagram and a
similar construct is used in kdeaddons/noatun-plugins/dub/dub since last week
which prevents me from compiling them.
since gcc gives the following error
[wdl at enterprise wdl]$ gcc test.cpp
test.cpp: In function `int main ()':
test.cpp:6: cannot convert `int' to `main ()::TextFlags' in assignment
- --
Simple things make people happy.
Willy De la Court
PGP Public Key at http://www.linux-lovers.be/download/public_key.asc
PGP Key fingerprint = 784E E18F 7F85 9C7C AC1A D5FB FE08 686C 37C7 A689
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
iD8DBQE+kZAX/ghobDfHpokRAoTGAKDRE1t+KkIUByAVp+ovn6U443F//wCfSHd/
Tb2yIrustt33UrliXU0MZ5k=
=4apm
-----END PGP SIGNATURE-----
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
More information about the umbrello-devel
mailing list