summary refs log tree commit diff stats
path: root/lib/system/exceptions.nim
diff options
context:
space:
mode:
authorcooldome <cdome@bk.ru>2020-03-19 19:38:25 +0000
committerGitHub <noreply@github.com>2020-03-19 20:38:25 +0100
commitb3176b881744242b6c0041024a46a17c7b73c788 (patch)
treed18d660c08efb53bea1022d212fed5619032bb26 /lib/system/exceptions.nim
parent034dad8e321edcf6cf88a2ad93fceafae267cc74 (diff)
downloadNim-b3176b881744242b6c0041024a46a17c7b73c788.tar.gz
Attempt to finish off araq cpp exceptions (#13695)
* config update
* disable a questionable test
* remove c++ exception handling IDs, new impl doesn't require it anymore
* C++ based exceptions finally work
* fixes bootstrapping problem in C++ mode
* teach GCC it's 2020 now
* more bugfixes for C++ based exception handling
* apply cooldome's patch
* another attempt to enable C++11
* bug fix

Co-authored-by: Araq <rumpf_a@web.de>
Co-authored-by: cooldome <ariabushenko@bk.ru>
Diffstat (limited to 'lib/system/exceptions.nim')
-rw-r--r--lib/system/exceptions.nim6
1 files changed, 0 insertions, 6 deletions
diff --git a/lib/system/exceptions.nim b/lib/system/exceptions.nim
index f575f9b9f..3979fb66e 100644
--- a/lib/system/exceptions.nim
+++ b/lib/system/exceptions.nim
@@ -33,12 +33,6 @@ type
       trace: string
     else:
       trace: seq[StackTraceEntry]
-    when defined(nimBoostrapCsources0_19_0):
-      # see #10315, bootstrap with `nim cpp` from csources gave error:
-      # error: no member named 'raise_id' in 'Exception'
-      raise_id: uint # set when exception is raised
-    else:
-      raiseId: uint # set when exception is raised
     up: ref Exception # used for stacking exceptions. Not exported!
 
   Defect* = object of Exception ## \