Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

C++ generation crashes on bug1202 #47

Open
pippijn opened this issue Aug 6, 2013 · 0 comments
Open

C++ generation crashes on bug1202 #47

pippijn opened this issue Aug 6, 2013 · 0 comments

Comments

@pippijn
Copy link
Collaborator

pippijn commented Aug 6, 2013

Without -Wcheck, it's a segmentation fault (null pointer dereference).

Instructions
aldor -Fc++ -Wcheck bug1202.as
Output
 Basic types correspondence:
 [SingleInteger] and [int]
 [String] and [char*]
 [Character] and [char]
 [SingleFloat] and [float]
 [DoubleFloat] and [double*]
 [Pointer] and [void*]
 [()] and [void]
 [Word] and [FiWord]
 [Ptr] and [FiPtr]
 [Bool] and [FiBool]
 [Byte] and [FiByte]
 [SInt] and [FiSInt]
 [Char] and [FiChar]
 [Arr] and [FiArr]
 [Rec] and [FiRec]
 [BInt] and [FiBInt]
 [DFlo] and [FiDFlo]


    IMPORT/EXPORT GENERATION

Category Class generation
Assertion failed, file "gencpp.c" line 3975: tf != NULL
Program fault (abort process).#3 (Error) Program fault (abort process).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant