This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: this simple program doesn't compile :-(
- From: Segher Boessenkool <segher at koffie dot nl>
- To: Andre Kirchner <sieg1974 at yahoo dot com>
- Cc: gcc-help at gcc dot gnu dot org
- Date: Mon, 20 Jan 2003 14:49:19 +0100
- Subject: Re: this simple program doesn't compile :-(
- References: <20030119201508.10553.qmail@web41405.mail.yahoo.com>
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