This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: RFC: Interoperability between C's "int" and Fortran's LOGICAL


Le 20/12/2012 18:43, Steve Kargl a écrit :
troutmask:sgk[228] ~/work/4x/bin/gcc -o z logical_C.c logical_F.o
logical_C.c:4:8: error: expected identifier or '(' before string constant
  extern "C" {
         ^

It should be compiled with g++. It seems that the program uses some c++ features. I don't remember which one(s).


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]