From d978aea4025338d2cabd61c050d879b6db3ec199 Mon Sep 17 00:00:00 2001 From: Amlal El Mahrouss Date: Mon, 21 Jul 2025 08:27:14 +0100 Subject: fix: LibC++: fix syntax errors in __abi+unreachable.cc Signed-off-by: Amlal El Mahrouss --- dev/LibC++/__abi+unreachable.cc | 8 ++++---- dev/LibC++/__abi.h | 6 +++--- dev/LibC++/make_cxx_headers.sh | 13 ------------- dev/LibC++/make_stdcc.sh | 13 +++++++++++++ 4 files changed, 20 insertions(+), 20 deletions(-) delete mode 100755 dev/LibC++/make_cxx_headers.sh create mode 100755 dev/LibC++/make_stdcc.sh (limited to 'dev/LibC++') diff --git a/dev/LibC++/__abi+unreachable.cc b/dev/LibC++/__abi+unreachable.cc index da23d47..9f436c0 100644 --- a/dev/LibC++/__abi+unreachable.cc +++ b/dev/LibC++/__abi+unreachable.cc @@ -1,7 +1,7 @@ /* ------------------------------------------- - \ - Copyright (C) 2025 Amlal El Mahrouss, all rights reserved. \ - \ + + Copyright (C) 2025 Amlal El Mahrouss, all rights reserved. + ------------------------------------------- */ #include @@ -10,7 +10,7 @@ static const int32_t __unreachable_code = 34; extern "C" void __libcompiler_unreachable(void) { - std::base_process::signal(__unreachable_code) + std::base_process::signal(__unreachable_code); while (1) ; diff --git a/dev/LibC++/__abi.h b/dev/LibC++/__abi.h index 9079f5f..d2cc52f 100644 --- a/dev/LibC++/__abi.h +++ b/dev/LibC++/__abi.h @@ -1,7 +1,7 @@ /* ------------------------------------------- - \ - Copyright (C) 2024-2025 Amlal El Mahrouss, all rights reserved. \ - \ + + Copyright (C) 2024-2025 Amlal El Mahrouss, all rights reserved. + ------------------------------------------- */ #pragma once diff --git a/dev/LibC++/make_cxx_headers.sh b/dev/LibC++/make_cxx_headers.sh deleted file mode 100755 index 7e23e2c..0000000 --- a/dev/LibC++/make_cxx_headers.sh +++ /dev/null @@ -1,13 +0,0 @@ -#! /bin/sh - -outputDir=stdcxx/ - -mkdir -p $outputDir - -for f in *.h; do - -#This line splits the file name on the delimiter "." -baseName=`echo $f | cut -d "." -f 1` -cp $f $outputDir$baseName - -done diff --git a/dev/LibC++/make_stdcc.sh b/dev/LibC++/make_stdcc.sh new file mode 100755 index 0000000..7e23e2c --- /dev/null +++ b/dev/LibC++/make_stdcc.sh @@ -0,0 +1,13 @@ +#! /bin/sh + +outputDir=stdcxx/ + +mkdir -p $outputDir + +for f in *.h; do + +#This line splits the file name on the delimiter "." +baseName=`echo $f | cut -d "." -f 1` +cp $f $outputDir$baseName + +done -- cgit v1.2.3