fix some namespace issues for gcc 3.4

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7770 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Lars Gullik Bjønnes 2003-09-16 11:03:20 +00:00
parent fa837efdd6
commit 83256c8f88
11 changed files with 34 additions and 9 deletions

View File

@ -1,3 +1,11 @@
2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
* main.C:
* lyx_main.C:
* lyx_cb.C:
* buffer.C:
* LaTeX.C: use namespace alias for lyx::support::os
2003-09-16 Angus Leeming <leeming@lyx.org> 2003-09-16 Angus Leeming <leeming@lyx.org>
* bufferparams.C: * bufferparams.C:

View File

@ -39,7 +39,6 @@ using lyx::support::FileInfo;
using lyx::support::findtexfile; using lyx::support::findtexfile;
using lyx::support::getcwd; using lyx::support::getcwd;
using lyx::support::OnlyFilename; using lyx::support::OnlyFilename;
using lyx::support::os;
using lyx::support::prefixIs; using lyx::support::prefixIs;
using lyx::support::QuoteName; using lyx::support::QuoteName;
using lyx::support::rtrim; using lyx::support::rtrim;
@ -48,6 +47,8 @@ using lyx::support::suffixIs;
using lyx::support::Systemcall; using lyx::support::Systemcall;
using lyx::support::unlink; using lyx::support::unlink;
namespace os = lyx::support::os;
using boost::regex; using boost::regex;
using boost::smatch; using boost::smatch;

View File

@ -95,7 +95,6 @@ using lyx::support::MakeDisplayPath;
using lyx::support::MakeLatexName; using lyx::support::MakeLatexName;
using lyx::support::OnlyFilename; using lyx::support::OnlyFilename;
using lyx::support::OnlyPath; using lyx::support::OnlyPath;
using lyx::support::os;
using lyx::support::Path; using lyx::support::Path;
using lyx::support::QuoteName; using lyx::support::QuoteName;
using lyx::support::removeAutosaveFile; using lyx::support::removeAutosaveFile;
@ -107,6 +106,8 @@ using lyx::support::subst;
using lyx::support::tempName; using lyx::support::tempName;
using lyx::support::trim; using lyx::support::trim;
namespace os = lyx::support::os;
using std::endl; using std::endl;
using std::for_each; using std::for_each;
using std::make_pair; using std::make_pair;

View File

@ -1,3 +1,7 @@
2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
* lyx_gui.C: use namespace alias for lyx::support::os
2003-09-16 Angus Leeming <leeming@lyx.org> 2003-09-16 Angus Leeming <leeming@lyx.org>
* FormDocument.C: add #include "LColor.h". * FormDocument.C: add #include "LColor.h".

View File

@ -44,9 +44,10 @@
#include <fcntl.h> #include <fcntl.h>
using lyx::support::AddName; using lyx::support::AddName;
using lyx::support::os;
using lyx::support::user_lyxdir; using lyx::support::user_lyxdir;
namespace os = lyx::support::os;
#ifndef CXX_GLOBAL_CSTD #ifndef CXX_GLOBAL_CSTD
using std::exit; using std::exit;
#endif #endif

View File

@ -1,3 +1,8 @@
2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
* insetgraphics.C:
* insetbibtex.C: use namespace alias for lyx::support::os
2003-09-16 Angus Leeming <leeming@lyx.org> 2003-09-16 Angus Leeming <leeming@lyx.org>
* insetcollapsable.h: remove ununsed framecolor variable. * insetcollapsable.h: remove ununsed framecolor variable.
@ -29,7 +34,7 @@
* insetcollapsable.h: add #include "LColor.h" * insetcollapsable.h: add #include "LColor.h"
(for its framecolor member variable). (for its framecolor member variable).
2003-09-16 Angus Leeming <leeming@lyx.org> 2003-09-16 Angus Leeming <leeming@lyx.org>
* insetenv.C (constructor): use accessor functions to access InsetText variables. * insetenv.C (constructor): use accessor functions to access InsetText variables.

View File

@ -34,7 +34,6 @@ using lyx::support::findtexfile;
using lyx::support::IsFileReadable; using lyx::support::IsFileReadable;
using lyx::support::ltrim; using lyx::support::ltrim;
using lyx::support::MakeAbsPath; using lyx::support::MakeAbsPath;
using lyx::support::os;
using lyx::support::Path; using lyx::support::Path;
using lyx::support::prefixIs; using lyx::support::prefixIs;
using lyx::support::rtrim; using lyx::support::rtrim;
@ -43,6 +42,8 @@ using lyx::support::subst;
using lyx::support::tokenPos; using lyx::support::tokenPos;
using lyx::support::trim; using lyx::support::trim;
namespace os = lyx::support::os;
using std::endl; using std::endl;
using std::getline; using std::getline;

View File

@ -92,12 +92,13 @@ using lyx::support::GetExtension;
using lyx::support::getExtFromContents; using lyx::support::getExtFromContents;
using lyx::support::IsFileReadable; using lyx::support::IsFileReadable;
using lyx::support::LibFileSearch; using lyx::support::LibFileSearch;
using lyx::support::os;
using lyx::support::rtrim; using lyx::support::rtrim;
using lyx::support::Systemcall; using lyx::support::Systemcall;
using lyx::support::unzipFile; using lyx::support::unzipFile;
using lyx::support::unzippedFileName; using lyx::support::unzippedFileName;
namespace os = lyx::support::os;
using std::endl; using std::endl;
using std::auto_ptr; using std::auto_ptr;

View File

@ -56,7 +56,6 @@ using lyx::support::MakeAbsPath;
using lyx::support::MakeDisplayPath; using lyx::support::MakeDisplayPath;
using lyx::support::OnlyFilename; using lyx::support::OnlyFilename;
using lyx::support::OnlyPath; using lyx::support::OnlyPath;
using lyx::support::os;
using lyx::support::Path; using lyx::support::Path;
using lyx::support::removeAutosaveFile; using lyx::support::removeAutosaveFile;
using lyx::support::rename; using lyx::support::rename;
@ -67,6 +66,8 @@ using lyx::support::tempName;
using lyx::support::unlink; using lyx::support::unlink;
using lyx::support::user_lyxdir; using lyx::support::user_lyxdir;
namespace os = lyx::support::os;
using std::back_inserter; using std::back_inserter;
using std::copy; using std::copy;
using std::endl; using std::endl;

View File

@ -64,13 +64,14 @@ using lyx::support::GetEnv;
using lyx::support::GetEnvPath; using lyx::support::GetEnvPath;
using lyx::support::i18nLibFileSearch; using lyx::support::i18nLibFileSearch;
using lyx::support::LibFileSearch; using lyx::support::LibFileSearch;
using lyx::support::os;
using lyx::support::Path; using lyx::support::Path;
using lyx::support::rtrim; using lyx::support::rtrim;
using lyx::support::setLyxPaths; using lyx::support::setLyxPaths;
using lyx::support::system_lyxdir; using lyx::support::system_lyxdir;
using lyx::support::user_lyxdir; using lyx::support::user_lyxdir;
namespace os = lyx::support::os;
using std::endl; using std::endl;
using std::vector; using std::vector;

View File

@ -19,7 +19,8 @@
#include <ios> #include <ios>
#endif #endif
using lyx::support::os;
namespace os = lyx::support::os;
int main(int argc, char * argv[]) int main(int argc, char * argv[])