this simple program doesn't compile :-(

Segher Boessenkool segher@koffie.nl
Tue Jan 21 01:29:00 GMT 2003


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




More information about the Gcc-help mailing list