From 12dd57c04b42d4517061ed847b1aa041dd8af841 Mon Sep 17 00:00:00 2001 From: alwin Date: Tue, 02 Mar 2004 14:00:39 +0000 Subject: fixed up todlist to work again. The segfault resulted due a real ugly code-style: Never, realy never, use "using namespace <...>" inside a include file. Ever use "Opie::" or such inside include files. Think twice, before using a "use namespace <...>" inside a c++ file. If you're using it just 3,4 times, write "Opie::::" or such. If you just simple write a using namespace all the time it makes the idea of namespaces obsolete. Mostly: just integrate your OWN namespace (in that case use namespace Todo;) - but try to use all other namespaces the explicit way - so you will sure that the compiler inherits the right methods. ToDo: write this statement into the developer wiki --- (limited to 'examples/simple') -- cgit v0.9.0.2