Re: [Dev-C++] can't get rid of warning message
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Per W. <pw...@ia...> - 2004-12-08 13:47:36
|
This is the reason why the error message should be generated. A number of tools doesn't correctly handle files where the last line doesn't end with a '\n' and the compiler want to inform that the source versioning sysmte for example may check in broken files. /Per W On Wed, 8 Dec 2004, Len Philpot wrote: > > The problem is not in your compiler but in your code. There's a > > missing closing "}" somewhere in your sourcecode. > > I've also seen this when there wasn't a blank line at the end of a > file. For example : > > return 0; > }<EOF> > > Adding : > > return 0; > }<\n> > <EOF> > > ...eliminated the problem. > > -- > Len Philpot ><> > le...@ph... http://philpot.org/ > > > > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://productguide.itmanagersjournal.com/ > _______________________________________________ > Dev-cpp-users mailing list > Dev...@li... > TO UNSUBSCRIBE: http://www23.brinkster.com/noicys/devcpp/ub.htm > https://lists.sourceforge.net/lists/listinfo/dev-cpp-users > |