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] |
hi Tobias,This is something which should be rejected for -std=f2003; it should be easy using "gfc_notify_std (GFC_STD_F2003, ..." I think one can allow it by default, but I don't mind always rejecting it.Note: using "call foo("abcdef"//C_CHAR_NULL)" works with "character(len=0),dimension(*)" per F2003 standard, which is implemented in gfortran. Thus prohibiting it completely would also be ok.
i agree that this should be an error w/ -std=f2003, but having it error for std=gnu or by default seems harsh to me. i know of at least one other compiler that allows it. if acceptable, i'll add the std=f2003
check for the error.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |