I am trying to compile an existing C ++ package on my Mac OS x leopard computer and get the following error:
error: no matching function for call to 'getline (char **, size_t *, FILE * &)'
This is probably due to the fact that getline () is a GNU extension.
Can I somehow make the default gs compiler osx recognize such GNU extensions by default?
(if not, I can always provide my own implementation or the original version of GNU, but if possible, I prefer to have a "cleaner" solution)
source
share