When I compile the latest version of openBLAS with GCC 5.3.0, I see many, many warnings (27,646) about re-definitions on the command line. From web searches I see that this may be because the Makefile.system is included more than once.
e.g.:
gcc <options deleted> -DASMNAME= -DASMFNAME=_ -DNAME=_ -DCNAME= -DCHAR_NAME=\"_\" -DCHAR_CNAME=\"\" -DASMNAME=ctbmv_NUN -DASMFNAME=ctbmv_NUN_ -DNAME=ctbmv_NUN_ -DCNAME=ctbmv_NUN -DCHAR_NAME=\"ctbmv_NUN_\" -DCHAR_CNAME=\"ctbmv_NUN\" -DNO_AFFINITY -I../.. -UDOUBLE -DCOMPLEX -DCOMPLEX -UDOUBLE -DTRANSA=1 -UUNIT ztbmv_U.c -o ctbmv_NUN.o
In this example, ASMNAME is set to null, and then to ctbmv_NUM which should be no problem, I assume.
However, CHAR_NAME is first set to "ctbmv_NUN_" and then set to "ctbmv_NUN" (no trailing underscore)
Is it setting the definition to the correct value?
The warnings are also printed using gcc 4.7.2 but not when using gcc 4.4.7
Can someone confirm that the correct values are being set up here?
Many thanks,
S.