tdenniston / bish

Bish is a language that compiles to Bash. It's designed to give shell scripting a more comfortable and modern feel.
MIT License
1.48k stars 36 forks source link

Add missing header #57

Closed tristil closed 9 years ago

tristil commented 9 years ago

Really simple PR. Errors.h references 'abort' which is part of cstdlib but wasn't included explicitly causing this failure on Ubuntu 14.10:

In file included from src/TypeChecker.cpp:3:0:
src/Errors.h: In destructor ‘Bish::ErrorReport::~ErrorReport()’:
src/Errors.h:21:19: error: ‘abort’ was not declared in this scope
             abort();
                   ^
Makefile:23: recipe for target 'obj/TypeChecker.o' failed
make: *** [obj/TypeChecker.o] Error 1

Other commit is just a suggestion.

tdenniston commented 9 years ago

Thanks!