https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80196

Eddy L O Jansson <eddy at klopper dot net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |eddy at klopper dot net

--- Comment #15 from Eddy L O Jansson <eddy at klopper dot net> ---
(In reply to Jonathan Wakely from comment #6)
> Reopening. We still need to know why building the PCH fails to find fenv_t
> for some people.
I ran into this issue doing a very bog-standard build of the newly released GCC
12.1 on linux X86-64, using a configuration that previously successfully built
GCC '12.0.1 20220424 (experimental)' a week or so ago.

I did not save the output from the failed build, but it would eventually fail
with 'error: 'fenv_t' has not been declared in '::' ... '

For reasons that I'll skip, between the successful build of 12.0.1 and now I
had added:

export
CPLUS_INCLUDE_PATH=/opt/local/include/c++/12.0.1:/opt/local/include/c++/12.0.1/x86_64-linux-gnu/

to my .bashrc

Removing the 'CPLUS_INCLUDE_PATH' environment variable made the problem go
away.

Reply via email to