From 8503f68912035b5a330c9ab461e294cbd88f66ca Mon Sep 17 00:00:00 2001 From: Stefano Zacchiroli Date: Wed, 2 Apr 2003 09:16:04 +0000 Subject: [PATCH] - gcc 3.2 aware changes - made "textomml" autotools aware --- helm/DEVEL/mathml_editor/textomml/Makefile.am | 2 +- helm/DEVEL/mathml_editor/textomml/main.cc | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/helm/DEVEL/mathml_editor/textomml/Makefile.am b/helm/DEVEL/mathml_editor/textomml/Makefile.am index d547d937f..cd66658f5 100644 --- a/helm/DEVEL/mathml_editor/textomml/Makefile.am +++ b/helm/DEVEL/mathml_editor/textomml/Makefile.am @@ -1,5 +1,5 @@ -bin_PROGRAMS = textomml +noinst_PROGRAMS = textomml textomml_SOURCES = main.cc diff --git a/helm/DEVEL/mathml_editor/textomml/main.cc b/helm/DEVEL/mathml_editor/textomml/main.cc index 19a962189..473576fde 100644 --- a/helm/DEVEL/mathml_editor/textomml/main.cc +++ b/helm/DEVEL/mathml_editor/textomml/main.cc @@ -98,7 +98,7 @@ parseError(const char* option) printHelp(); } -void +int main(int argc, char* argv[]) { CLoggerConsole logger; @@ -175,7 +175,7 @@ main(int argc, char* argv[]) if (optind < argc) { - ifstream file(argv[optind]); + std::ifstream file(argv[optind]); if (!file) { std::cerr << "can't open input file `" << argv[optind] << "'" << std::endl; -- 2.39.2