adonthell-devel
[Top][All Lists]
Advanced

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

[Adonthell-devel] ::gui::base::method???


From: Kai Sterker
Subject: [Adonthell-devel] ::gui::base::method???
Date: Mon, 9 Feb 2004 12:09:17 +0100

It seems that writing something like ::gui::base::method() isn't really portable. gcc 3.3 had problems with it if the method had a return value:

../../../adonthell/src/gui/base.cc:76: error: no type named `gui' in `bool' ../../../adonthell/src/gui/base.cc:76: error: no type named `base' in `<type
   error>'
../../../adonthell/src/gui/base.cc:76: warning: ISO C++ forbids declaration of
   `update' with no type

So I removed the leading '::' and everything was fine. What use does it have anyway? (Or was it just a typo?) Hope that is okay.

Kai





reply via email to

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