On Apr 25, 2006, at 5:13 PM, Hans-Georg wrote:

Am 25.04.2006 um 23:56 schrieb Jonathan Johnson:

But all files, Sven and I speak about, must have by definition a file extension.

No, they don't.

So main.c and main are both valid c files? I don't think so.

GCC thinks so:

gcc -x c -c test

While GCC defaults to extension lookups, you can specify what type a file really is ("-x c"). I'm guessing they felt a need for it for *some* reason -- perhaps because extensions can't always be relied on?

-Jon
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to