Re: file extension case sensitive

Peter Gerwinski <[email protected]>
Newsgroups gmane.comp.compilers.gpc
Message-ID <[email protected]>
Jay Michael wrote:
>      The automatic selection of source language based on the extension
> of an input file seems to be case-sensitive.

That's intentional. For example, the suffix ".C" means "C++ source",
while ".c" means "C source".

Use "-x pascal" to make gpc recognize Pascal source without looking
at the extension.

> gpc JSM4.PAS
> gpc: Internal GPC problem: internal option `--amtmpfile' not given

The error message is misleading, of course.

    Peter
-- 
Prof. Dr. rer. nat. Peter Gerwinski - http://www.peter.gerwinski.de
Bochum University of Applied Sciences - http://www.hs-bochum.de
G-N-U GmbH - First Class IT Services - http://www.g-n-u.de
German pages for GNU & free software - http://www.gnu.de

_______________________________________________
Gpc mailing list
[email protected]
https://www.g-n-u.de/mailman/listinfo/gpc
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.