summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAmlal <amlal@el-mahrouss-logic.com>2024-09-13 17:26:27 +0200
committerAmlal <amlal@el-mahrouss-logic.com>2024-09-13 17:26:27 +0200
commit3b0806fcf871d0502a26bb019c1c394d5ca9d502 (patch)
treecedd1059fb7be31f93264a40ce12f374bf3ebf20
parent75774404f7db62a980843a8bc2789f6584535f47 (diff)
META: BUMP compiler toolchain.
Signed-off-by: Amlal <amlal@el-mahrouss-logic.com>
-rw-r--r--dev/NDK/Sources/CCompiler64x0.cxx14
-rw-r--r--dev/NDK/Sources/CCompilerPower64.cxx14
-rw-r--r--dev/NDK/Sources/CPlusPlusCompilerAMD64.cxx14
3 files changed, 21 insertions, 21 deletions
diff --git a/dev/NDK/Sources/CCompiler64x0.cxx b/dev/NDK/Sources/CCompiler64x0.cxx
index 394f8b6..10f8225 100644
--- a/dev/NDK/Sources/CCompiler64x0.cxx
+++ b/dev/NDK/Sources/CCompiler64x0.cxx
@@ -39,7 +39,7 @@
/////////////////////
-#define kOk (0)
+#define kExitOK (0)
#define kBlank "\e[0;30m"
#define kRed "\e[0;31m"
@@ -1473,7 +1473,7 @@ public:
kState.fOutputAssembly->flush();
kState.fOutputAssembly.reset();
- return kOk;
+ return kExitOK;
}
};
@@ -1523,7 +1523,7 @@ NDK_MODULE(NewOSCompilerCLang64x0)
strcmp(argv[index], "/version") == 0)
{
kSplashCxx();
- return kOk;
+ return kExitOK;
}
if (strcmp(argv[index], "/verbose") == 0)
@@ -1537,7 +1537,7 @@ NDK_MODULE(NewOSCompilerCLang64x0)
{
cc_print_help();
- return kOk;
+ return kExitOK;
}
if (strcmp(argv[index], "/dialect") == 0)
@@ -1545,7 +1545,7 @@ NDK_MODULE(NewOSCompilerCLang64x0)
if (kCompilerBackend)
std::cout << kCompilerBackend->Language() << "\n";
- return kOk;
+ return kExitOK;
}
if (strcmp(argv[index], "/fmax-exceptions") == 0)
@@ -1587,11 +1587,11 @@ NDK_MODULE(NewOSCompilerCLang64x0)
return 1;
}
- if (kFactory.Compile(srcFile, kMachine) != kOk)
+ if (kFactory.Compile(srcFile, kMachine) != kExitOK)
return -1;
}
- return kOk;
+ return kExitOK;
}
// Last rev 8-1-24
diff --git a/dev/NDK/Sources/CCompilerPower64.cxx b/dev/NDK/Sources/CCompilerPower64.cxx
index a05271f..a4fcc7d 100644
--- a/dev/NDK/Sources/CCompilerPower64.cxx
+++ b/dev/NDK/Sources/CCompilerPower64.cxx
@@ -20,7 +20,7 @@
#include <vector>
#include <cstdio>
-#define kOk 0
+#define kExitOK 0
/// @author Amlal El Mahrouss (amlel)
/// @file cc.cxx
@@ -1493,7 +1493,7 @@ public:
kState.fOutputAssembly->flush();
kState.fOutputAssembly.reset();
- return kOk;
+ return kExitOK;
}
};
@@ -1543,7 +1543,7 @@ NDK_MODULE(NewOSCompilerCLangPowerPC)
strcmp(argv[index], "-version") == 0)
{
kSplashCxx();
- return kOk;
+ return kExitOK;
}
if (strcmp(argv[index], "-verbose") == 0)
@@ -1557,7 +1557,7 @@ NDK_MODULE(NewOSCompilerCLangPowerPC)
{
cc_print_help();
- return kOk;
+ return kExitOK;
}
if (strcmp(argv[index], "-dialect") == 0)
@@ -1565,7 +1565,7 @@ NDK_MODULE(NewOSCompilerCLangPowerPC)
if (kCompilerBackend)
std::cout << kCompilerBackend->Language() << "\n";
- return kOk;
+ return kExitOK;
}
if (strcmp(argv[index], "-fmax-exceptions") == 0)
@@ -1607,11 +1607,11 @@ NDK_MODULE(NewOSCompilerCLangPowerPC)
return 1;
}
- if (kFactory.Compile(srcFile, kMachine) != kOk)
+ if (kFactory.Compile(srcFile, kMachine) != kExitOK)
return -1;
}
- return kOk;
+ return kExitOK;
}
// Last rev 8-1-24
diff --git a/dev/NDK/Sources/CPlusPlusCompilerAMD64.cxx b/dev/NDK/Sources/CPlusPlusCompilerAMD64.cxx
index 01a060a..35058fe 100644
--- a/dev/NDK/Sources/CPlusPlusCompilerAMD64.cxx
+++ b/dev/NDK/Sources/CPlusPlusCompilerAMD64.cxx
@@ -13,7 +13,7 @@
#define kPrintF printf
-#define kOk (0)
+#define kExitOK (0)
#define kSplashCxx() \
kPrintF(kWhite "%s\n", "ZKA C++ Compiler Driver, (c) 2024 ZKA Technologies, all rights reserved.")
@@ -834,7 +834,7 @@ public:
if (kAcceptableErrors > 0)
return -1;
- return kOk;
+ return kExitOK;
}
};
@@ -932,7 +932,7 @@ NDK_MODULE(CompilerCPlusPlusX8664)
if (strcmp(argv[index], "/Ver") == 0)
{
kSplashCxx();
- return kOk;
+ return kExitOK;
}
if (strcmp(argv[index], "/Verbose") == 0)
@@ -946,7 +946,7 @@ NDK_MODULE(CompilerCPlusPlusX8664)
{
cxx_print_help();
- return kOk;
+ return kExitOK;
}
if (strcmp(argv[index], "/GetC++") == 0)
@@ -954,7 +954,7 @@ NDK_MODULE(CompilerCPlusPlusX8664)
if (kCompilerBackend)
std::cout << kCompilerBackend->Language() << "\n";
- return kOk;
+ return kExitOK;
}
if (strcmp(argv[index], "/MaxErr") == 0)
@@ -1010,11 +1010,11 @@ NDK_MODULE(CompilerCPlusPlusX8664)
std::cout << "c++drv: building: " << argv[index] << std::endl;
- if (kFactory.Compile(argv_i, kMachine) != kOk)
+ if (kFactory.Compile(argv_i, kMachine) != kExitOK)
return -1;
}
- return kOk;
+ return kExitOK;
}
// Last rev 8-1-24