This is the mail archive of the gcc-help@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]

Re: this simple program doesn't compile :-(


Andre Kirchner wrote:
> 
> Ok, this was a stupied question. Sorry for that.
> I asked it, because when I commented the line "dev =
> pcap_lookupdev( errbuf );" the program was compiled
> without any problem ( and without any new line ), so I
> thought the error was somewhere else.

Well it _said_ line 17, you know ;)

When you commented that line, your editor was probably smart enough
to add the newline before end-of-file on saving the file.  Vim
certainly does it(*), and I imagine emacs does it, too.


Segher

(*) assuming a usual configuration



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