From 0a1ca8742c3fda97ba067282b608981850e27764 Mon Sep 17 00:00:00 2001 From: Stefano Zacchiroli Date: Wed, 2 Apr 2003 09:14:59 +0000 Subject: [PATCH] gcc 3.2 aware changes --- helm/DEVEL/mathml_editor/test/editor.cc | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/helm/DEVEL/mathml_editor/test/editor.cc b/helm/DEVEL/mathml_editor/test/editor.cc index 37b84866c..398d3133d 100644 --- a/helm/DEVEL/mathml_editor/test/editor.cc +++ b/helm/DEVEL/mathml_editor/test/editor.cc @@ -65,7 +65,7 @@ edit_output_tex(Context* data) #if 0 res.normalize(); DOM::Node c = res.get_firstChild(); - if (c) cout << "HEY, there is a child! " << c.get_nodeName() << " " << c.get_nodeValue() << endl; + if (c) std::cout << "HEY, there is a child! " << c.get_nodeName() << " " << c.get_nodeValue() << std::endl; #endif data->texStyle.save(res, stdout); } @@ -85,7 +85,7 @@ edit_push_char(Context* context, gchar ch) { assert(context != NULL); GUI_freeze(); - cout << "*** SENDING " << ch << endl; + std::cout << "*** SENDING " << ch << std::endl; context->lexer.push(ch); GUI_thaw(); } @@ -144,7 +144,7 @@ edit_complete(Context* context) GUI_thaw(); } -void +int main(int argc, char* argv[]) { CLoggerConsole logger; @@ -186,4 +186,5 @@ main(int argc, char* argv[]) GUI_run(); GUI_uninit(); GUI_unload_document(); + } -- 2.39.2