[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Portland Group cpp fails sanity check

From: Paul Eggert
Subject: Re: Portland Group cpp fails sanity check
Date: Wed, 09 Jan 2008 17:04:12 -0800
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux)

"Brad Larsen" <address@hidden> writes:

> configure:4274: /opt/pgi/linux86-64/7.1-1/bin/pgcpp  conftest.c
> "conftest.c", line 16: error: identifier "Syntax" is undefined
>              Syntax error
>              ^

Apparently the Portland group preprocessor refuses to preprocess
input files unless it can also fully parse them as C programs.
This behavior is weird and will break Autoconf-generated scripts.
Try substituting a C preprocessor that is not so all-fired picky:
you can use GCC's preprocessor for that.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]