Re: [AD] plugins.h on MinGW32 2 |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
> Well, ASCII 26 means end of (text) file to DOS, so that's probably why the
> code 26 is placed in there. It seems the latest MinGW32 (or gcc, whatever)
> ignores that code and continues to read past it.
Thanks for the explanation.
> My vote would be the /B switch on any multiple copy line, as who knows
> when future versions of compilers / os will stop recognizing 26 as an end
> of text file marker. Obviously, even notepad itself (at least in WinXP)
> doesn't know what to do with extra character and displays it - instead of
> stopping.
Ok, patch applied, even to DOS ports for the sake of consistency (tested
with DJGPP).
> The only thing to make sure is that every plugin.h file should end with a
> proper CR/LF combination (as they do now), that way the final plugins.h
> ends with one as well.
Of course.
- Eric