This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC 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] | |
mmcohen@ranx.ucsc.edu wrote:
In every other f77 system I've used if one creates a string like 'a b c', the result is null terminated. With g77 this seems not to be the case, so it's impossible to find the end of a string, unless one explicitly gives the string as 'a b c\0'. However I've got a zillion lines of code that expect a null. Is this really what is intended in g77?
Yes.
Is there a compiler flag to set to get null terminated strings?
No, unfortunately not.
Not in our plan. You are the first person in the almost 8 years that g77 is in existence to complain about this.Or is this a bug to be rectified?
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |