Dear expertes,
I have tried to install fluka4-5.0 on a Macbook. I have followed the instructions, however, I got the following error message|:
gfortran -c -o usrsuwev.o -I/Users/jilbertozamorasaa/FLUKA/fluka4-5.0//include -J/Users/jilbertozamorasaa/FLUKA/fluka4-5.0//include -g -cpp -O3 -fd-lines-as-comments -Wall -Waggregate-return -Wcast-align -Wline-truncation -Wno-conversion -Wno-integer-division -Wno-tabs -Wno-unused-dummy-argument -Wno-unused-function -Wno-unused-parameter -Wno-unused-variable -Wsystem-headers -Wuninitialized -Wunused-label -mtune=generic -fPIC -fexpensive-optimizations -funroll-loops -fstrength-reduce -fno-automatic -finit-local-zero -ffixed-line-length-132 -fbackslash -funderscoring -frecord-marker=4 -falign-commons -fbacktrace -frange-check -fbounds-check -fdump-core -ftrapping-math -ffpe-trap=invalid,zero,overflow usrsuwev.f
gcc -c -o usbmax.o -I/Users/jilbertozamorasaa/FLUKA/fluka4-5.0//include -g -c -Wall -Werror -Wextra -pedantic -fPIC -pthread -MMD -MP -Wno-vla -O3 -DNDEBUG -Wpacked -DV4 usbmax.c
usbmax.c:271:11: error: a function declaration without a prototype is deprecated in all versions of C [-Werror,-Wstrict-prototypes]
271 | void usage()
| ^
| void
1 error generated.
make[1]: *** [usbmax.o] Error 1
make: *** [tools] Error 2
#########################################################
#########################################################
My gfortran version is:
jilbertos-MacBook-Pro:fluka4-5.0 jilbertozamorasaa$ gfortran --version
GNU Fortran (MacPorts gcc13 13.3.0_2+stdlib_flag) 13.3.0
#########################################################
#########################################################
Any help is more than welcome!!!
Cheers,
Jilberto