Skip to content

Commit

Permalink
[Test] Fix compilation errors with VS2015
Browse files Browse the repository at this point in the history
  • Loading branch information
speth committed Sep 8, 2015
1 parent 67172cd commit 5ed6d9a
Show file tree
Hide file tree
Showing 22 changed files with 22 additions and 22 deletions.
2 changes: 1 addition & 1 deletion test_problems/ChemEquil_ionizedGas/ionizedGasEquil.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ using namespace Cantera;

int main(int argc, char** argv)
{
#ifdef _MSC_VER
#if defined(_MSC_VER) && _MSC_VER < 1900
_set_output_format(_TWO_DIGIT_EXPONENT);
#endif
try {
Expand Down
2 changes: 1 addition & 1 deletion test_problems/CpJump/CpJump.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ using namespace Cantera;

int main(int argc, char** argv)
{
#ifdef _MSC_VER
#if defined(_MSC_VER) && _MSC_VER < 1900
_set_output_format(_TWO_DIGIT_EXPONENT);
#endif
try {
Expand Down
2 changes: 1 addition & 1 deletion test_problems/VCSnonideal/NaCl_equil/nacl_equil.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ void printUsage()

int main(int argc, char** argv)
{
#ifdef _MSC_VER
#if defined(_MSC_VER) && _MSC_VER < 1900
_set_output_format(_TWO_DIGIT_EXPONENT);
#endif
suppress_deprecation_warnings();
Expand Down
2 changes: 1 addition & 1 deletion test_problems/VPsilane_test/silane_equil.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ using namespace Cantera;

int main(int argc, char** argv)
{
#ifdef _MSC_VER
#if defined(_MSC_VER) && _MSC_VER < 1900
_set_output_format(_TWO_DIGIT_EXPONENT);
#endif
try {
Expand Down
2 changes: 1 addition & 1 deletion test_problems/cathermo/HMW_test_1/HMW_test_1.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ void pAtable(HMWSoln* HMW)

int main(int argc, char** argv)
{
#ifdef _MSC_VER
#if defined(_MSC_VER) && _MSC_VER < 1900
_set_output_format(_TWO_DIGIT_EXPONENT);
#endif
int retn = 0;
Expand Down
2 changes: 1 addition & 1 deletion test_problems/cathermo/HMW_test_3/HMW_test_3.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ void pAtable(HMWSoln* HMW)

int main(int argc, char** argv)
{
#ifdef _MSC_VER
#if defined(_MSC_VER) && _MSC_VER < 1900
_set_output_format(_TWO_DIGIT_EXPONENT);
#endif

Expand Down
2 changes: 1 addition & 1 deletion test_problems/cathermo/VPissp/ISSPTester.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ using namespace Cantera;

int main(int argc, char** argv)
{
#ifdef _MSC_VER
#if defined(_MSC_VER) && _MSC_VER < 1900
_set_output_format(_TWO_DIGIT_EXPONENT);
#endif

Expand Down
2 changes: 1 addition & 1 deletion test_problems/cathermo/ims/IMSTester.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ using namespace Cantera;

int main(int argc, char** argv)
{
#ifdef _MSC_VER
#if defined(_MSC_VER) && _MSC_VER < 1900
_set_output_format(_TWO_DIGIT_EXPONENT);
#endif

Expand Down
2 changes: 1 addition & 1 deletion test_problems/cathermo/issp/ISSPTester.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ using namespace Cantera;

int main(int argc, char** argv)
{
#ifdef _MSC_VER
#if defined(_MSC_VER) && _MSC_VER < 1900
_set_output_format(_TWO_DIGIT_EXPONENT);
#endif

Expand Down
2 changes: 1 addition & 1 deletion test_problems/cathermo/testIAPWS/testIAPWSphi.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ using namespace Cantera;

int main()
{
#ifdef _MSC_VER
#if defined(_MSC_VER) && _MSC_VER < 1900
_set_output_format(_TWO_DIGIT_EXPONENT);
#endif
WaterPropsIAPWSphi* phi = new WaterPropsIAPWSphi();
Expand Down
2 changes: 1 addition & 1 deletion test_problems/cathermo/testIAPWSPres/testPress.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ double numdpdt(WaterPropsIAPWS* water, double T, double pres)

int main()
{
#ifdef _MSC_VER
#if defined(_MSC_VER) && _MSC_VER < 1900
_set_output_format(_TWO_DIGIT_EXPONENT);
#endif
double dens, u, s, h;
Expand Down
2 changes: 1 addition & 1 deletion test_problems/cathermo/testIAPWSTripP/testTripleP.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ using namespace Cantera;

int main()
{
#ifdef _MSC_VER
#if defined(_MSC_VER) && _MSC_VER < 1900
_set_output_format(_TWO_DIGIT_EXPONENT);
#endif
double dens, u, s, h, cv, cp, pres;
Expand Down
2 changes: 1 addition & 1 deletion test_problems/cathermo/testWaterPDSS/testWaterPDSS.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ double tvalue(double val, double atol = 1.0E-9)

int main()
{
#ifdef _MSC_VER
#if defined(_MSC_VER) && _MSC_VER < 1900
_set_output_format(_TWO_DIGIT_EXPONENT);
#endif
double pres;
Expand Down
2 changes: 1 addition & 1 deletion test_problems/cathermo/testWaterTP/testWaterSSTP.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ double tvalue(double val, double atol = 1.0E-9)

int main()
{
#ifdef _MSC_VER
#if defined(_MSC_VER) && _MSC_VER < 1900
_set_output_format(_TWO_DIGIT_EXPONENT);
#endif
double pres;
Expand Down
2 changes: 1 addition & 1 deletion test_problems/cxx_ex/examples.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ exfun fex[] = {kinetics_example1, kinetics_example3,
// main program
int main(int argc, char** argv)
{
#ifdef _MSC_VER
#if defined(_MSC_VER) && _MSC_VER < 1900
_set_output_format(_TWO_DIGIT_EXPONENT);
#endif
int example_num = 0;
Expand Down
2 changes: 1 addition & 1 deletion test_problems/diamondSurf/runDiamond.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ void printDbl(double val)

int main(int argc, char** argv)
{
#ifdef _MSC_VER
#if defined(_MSC_VER) && _MSC_VER < 1900
_set_output_format(_TWO_DIGIT_EXPONENT);
#endif
if (argc != 2) {
Expand Down
2 changes: 1 addition & 1 deletion test_problems/mixGasTransport/mixGasTransport.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ using namespace Cantera;

int main(int argc, char** argv)
{
#ifdef _MSC_VER
#if defined(_MSC_VER) && _MSC_VER < 1900
_set_output_format(_TWO_DIGIT_EXPONENT);
#endif
string infile = "diamond.xml";
Expand Down
2 changes: 1 addition & 1 deletion test_problems/multiGasTransport/multiGasTransport.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ static double cutoff(double val, double atol=1.0E-15)

int main(int argc, char** argv)
{
#ifdef _MSC_VER
#if defined(_MSC_VER) && _MSC_VER < 1900
_set_output_format(_TWO_DIGIT_EXPONENT);
#endif
string infile = "diamond.xml";
Expand Down
2 changes: 1 addition & 1 deletion test_problems/pureFluidTest/testPureWater.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ double tvalue(double val, double atol = 1.0E-9)

int main()
{
#ifdef _MSC_VER
#if defined(_MSC_VER) && _MSC_VER < 1900
_set_output_format(_TWO_DIGIT_EXPONENT);
#endif
double pres;
Expand Down
2 changes: 1 addition & 1 deletion test_problems/rankine_democxx/rankine.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ int openRankine(int np, void* p)

int main()
{
#ifdef _MSC_VER
#if defined(_MSC_VER) && _MSC_VER < 1900
_set_output_format(_TWO_DIGIT_EXPONENT);
#endif
try {
Expand Down
2 changes: 1 addition & 1 deletion test_problems/silane_equil/silane_equil.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ using namespace Cantera;

int main(int argc, char** argv)
{
#ifdef _MSC_VER
#if defined(_MSC_VER) && _MSC_VER < 1900
_set_output_format(_TWO_DIGIT_EXPONENT);
#endif
try {
Expand Down
2 changes: 1 addition & 1 deletion test_problems/surfSolverTest/surfaceSolver.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ void printSurf(ostream& oooo,

int main(int argc, char** argv)
{
#ifdef _MSC_VER
#if defined(_MSC_VER) && _MSC_VER < 1900
_set_output_format(_TWO_DIGIT_EXPONENT);
#endif
string infile;
Expand Down

0 comments on commit 5ed6d9a

Please sign in to comment.