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

Mini-LISP in C is not compiling on mac #424

Open
OfirMarkowitz1 opened this issue Jul 28, 2021 · 7 comments
Open

Mini-LISP in C is not compiling on mac #424

OfirMarkowitz1 opened this issue Jul 28, 2021 · 7 comments
Assignees

Comments

@OfirMarkowitz1
Copy link
Collaborator

There seems to be some problem with the compiler version

@yossigil
Copy link
Collaborator

To solve this, I need to know:

  1. What is the error message you get. Try to copy it, or include a screen dump.
  2. Which C++ compiler you use? Gcc? Version?
  3. What happens if you remove the rogue flag?

@OfirMarkowitz1
Copy link
Collaborator Author

OfirMarkowitz1 commented Jul 28, 2021 via email

@yossigil
Copy link
Collaborator

yossigil commented Jul 28, 2021

OK.
1. This seems a bug in compiling library files. Please try to disable inclusion of all library files. Add before including "mode.h" a definition that this is a production file, better yet, use this flag in Makefile. This should eliminate
2. Which C++ compiler you use? Gcc? Version? Follow this image, and provide the results:

image
3. does this help?

@OfirMarkowitz1
Copy link
Collaborator Author

OfirMarkowitz1 commented Jul 28, 2021 via email

@yossigil
Copy link
Collaborator

Not sure: GCC or CLAng?What do you think? @OfirMarkowitz1

@OfirMarkowitz1
Copy link
Collaborator Author

OfirMarkowitz1 commented Aug 2, 2021 via email

@yossigil
Copy link
Collaborator

yossigil commented Aug 2, 2021

Well, we got it. We need GCC...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants