From ffcc3756464dcd2a3384ccb0c3b7506196ae4744 Mon Sep 17 00:00:00 2001 From: Amlal El Mahrouss Date: Mon, 6 May 2024 09:27:02 +0200 Subject: MHR-24: Add new __mpcc headers. Signed-off-by: Amlal El Mahrouss --- Sources/amd64-cplusplus.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Sources') diff --git a/Sources/amd64-cplusplus.cc b/Sources/amd64-cplusplus.cc index edff0c5..60e6435 100644 --- a/Sources/amd64-cplusplus.cc +++ b/Sources/amd64-cplusplus.cc @@ -30,7 +30,7 @@ #define kOk 0 /* Mahrouss Logic C++ driver */ -/* This is part of MultiProcessor C++ SDK. */ +/* This is part of CodeTools C++ compiler. */ /* (c) Mahrouss Logic */ // @author Amlal El Mahrouss (amlel) @@ -344,7 +344,7 @@ MPCC_MODULE(CompilerCPlusPlus) { return kOk; } - if (strcmp(argv[index], "-fmax-exceptions") == 0) { + if (strcmp(argv[index], "-max-errors") == 0) { try { kErrorLimit = std::strtol(argv[index + 1], nullptr, 10); } -- cgit v1.2.3