Thanks for the prompt reply. Unfortunately, I still get the same error, and, I still need the compiler flags. (If not, compilation crashes even earlier)
So I unpack the latest tarball you linked above, run ./build.sh, then ./configure
Code: Select all
./configure --prefix=`pwd` --with-iv=/Users/btorb/local/neuron/iv --with-nrnpython=dynamic --with-paranrn --with-readline=/usr/local/opt/readline
I get the following error during "make" which has to do with the compiler flags.
Code: Select all
io.c:73:4: warning: implicit declaration of function 'pop_file_stack' is invalid in C99 [-Wimplicit-function-declaration]
pop_file_stack();
^
io.c:81:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
unGetc(c)
^~~~~~
io.c:85:3: error: non-void function 'unGetc' should return a value [-Wreturn-type]
return;
If I use the old compiler flags (from here
http://www.neuron.yale.edu/hg/neuron/nr ... 0f78755a30) during ./configure
Code: Select all
./configure --prefix=`pwd` --with-iv=/Users/btorb/local/neuron/iv --with-nrnpython=dynamic --with-paranrn --with-readline=/usr/local/opt/readline CFLAGS='-O3 -Wno-return-type -Wno-implicit-function-declaration -Wno-implicit-int -fPIC' CXXFLAGS='-O3 -Wno-return-type -Wno-implicit-function-declaration -Wno-implicit-int -fPIC'
then during "make" I get the following error:
Code: Select all
ivocrand.cpp:191:26: error: addition of default argument on redeclaration makes this constructor a default constructor
Rand::Rand(unsigned long seed = 0, int size = 55, Object* obj = nil) {
^ ~
./random1.h:11:3: note: previous declaration is here
Rand(unsigned long seed, int size, Object*);