From c4ef17bbfd280bf3ea33ec0c68f061f5b1b9b15a Mon Sep 17 00:00:00 2001 From: pschaefer Date: Sat, 22 Sep 2012 12:21:21 +0000 Subject: [PATCH] Added svnignores small fix in common.cpp --- sffview/.cproject | 140 +++++++++--------------- sffview/.project | 69 +----------- sffview/.settings/language.settings.xml | 4 +- sffview/common.cpp | 4 + sffview/common.h | 2 +- 5 files changed, 65 insertions(+), 154 deletions(-) diff --git a/sffview/.cproject b/sffview/.cproject index 2ca9703..e87ea46 100644 --- a/sffview/.cproject +++ b/sffview/.cproject @@ -1,101 +1,67 @@ - + - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + + + - - + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - make - all - false - true - true - - - make - clean - false - true - true - - - build_vc.cmd - - all - false - false - true - - - build_vc.cmd - - clean - false - false - true - - + + + + + + + + + + + diff --git a/sffview/.project b/sffview/.project index 90b3e91..e00ec5c 100644 --- a/sffview/.project +++ b/sffview/.project @@ -6,81 +6,22 @@ - org.eclipse.cdt.make.core.makeBuilder + org.eclipse.cdt.managedbuilder.core.genmakebuilder clean,full,incremental, - - org.eclipse.cdt.core.errorOutputParser - org.eclipse.cdt.core.VCErrorParser; - - - org.eclipse.cdt.make.core.append_environment - true - - - org.eclipse.cdt.make.core.build.arguments - - - - org.eclipse.cdt.make.core.build.command - make - - - org.eclipse.cdt.make.core.build.location - - - - org.eclipse.cdt.make.core.build.target.auto - all - - - org.eclipse.cdt.make.core.build.target.clean - clean - - - org.eclipse.cdt.make.core.build.target.inc - all - - - org.eclipse.cdt.make.core.enableAutoBuild - false - - - org.eclipse.cdt.make.core.enableCleanBuild - true - - - org.eclipse.cdt.make.core.enableFullBuild - true - - - org.eclipse.cdt.make.core.enabledIncrementalBuild - true - - - org.eclipse.cdt.make.core.environment - - - - org.eclipse.cdt.make.core.stopOnError - false - - - org.eclipse.cdt.make.core.useDefaultBuildCmd - true - - org.eclipse.cdt.make.core.ScannerConfigBuilder + org.eclipse.cdt.managedbuilder.core.ScannerConfigBuilder + full,incremental, org.eclipse.cdt.core.cnature - org.eclipse.cdt.make.core.makeNature - org.eclipse.cdt.make.core.ScannerConfigNature org.eclipse.cdt.core.ccnature + org.eclipse.cdt.managedbuilder.core.managedBuildNature + org.eclipse.cdt.managedbuilder.core.ScannerConfigNature diff --git a/sffview/.settings/language.settings.xml b/sffview/.settings/language.settings.xml index d8fce1d..86102d7 100644 --- a/sffview/.settings/language.settings.xml +++ b/sffview/.settings/language.settings.xml @@ -1,8 +1,8 @@ - + - + diff --git a/sffview/common.cpp b/sffview/common.cpp index 8a4178f..47f1701 100644 --- a/sffview/common.cpp +++ b/sffview/common.cpp @@ -50,6 +50,10 @@ using namespace std; +#ifdef _MSC_VER +#define fileno _fileno +#endif + //----------------------------------------------------------------- const std::string CSimpleException::m_aReasons[err_count+1] = diff --git a/sffview/common.h b/sffview/common.h index 9415d92..a13687c 100644 --- a/sffview/common.h +++ b/sffview/common.h @@ -88,7 +88,7 @@ public: sk_current }; - CFile() : m_hFile(NULL) { /* sonst nix */ }; + CFile() : m_hFile(NULL), m_nFileNo(0) { /* sonst nix */ }; CFile(const std::string& strPath); // throw CSimpleException