Subject: Re: bug#49350: gcc-toolchain compilation error with -nostdinc++
From: Ontje Lünsdorf <[email-masked]>
To: Sarah Morgensen <[email-masked]>
Cc: [email-masked]
Date: Tue, 27 Jul 2021 10:07:33 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

Hi Sarah,

Sarah Morgensen <[email-masked]> writes:

> The issue seems to be with the (automatically set by Guix)
> CPLUS_INCLUDE_PATH environment variable. The following works as
> expected:
>
>   guix environment --pure --ad-hoc gcc-toolchain -- CPLUS_INCLUDE_PATH= c++ -nostdinc++ test.cpp

thanks, this solved my problem.

Best regards,
Ontje