Tim Gesthuizen writes:
> On 19.09.2018 20:33, Pjotr Prins wrote:
>> Hi Tim,
>>
>> I am not sure this helps but in a project I have I use
>>
>> CPPFLAGS= -std=c++11
>>
>> and
>>
>> CPPFLAGS += -I$(GUIX)/include/c++
>> -I$(GUIX)/include/c++/x86_64-unknown-linux-gnu
>>
>> to find include files
On 22.09.2018 02:58, Robin Templeton wrote:
> Hi Tim,
>
> Tim Gesthuizen writes:
>
>> As you can see from the output, clang is missing some include paths that
>> gcc has. Specifying a custom `CPLUS_INCLUDE_PATH' fixes the problem:
>>
>> ┌
>> │
>> CPLUS_INCLUDE_PATH=$HOME/.guix-profile/includ
Hi Tim,
Tim Gesthuizen writes:
> As you can see from the output, clang is missing some include paths that
> gcc has. Specifying a custom `CPLUS_INCLUDE_PATH' fixes the problem:
>
> ┌
> │
> CPLUS_INCLUDE_PATH=$HOME/.guix-profile/include/c++:$HOME/.guix-profile/include/c++/x86_64-unknown-linux
On 19.09.2018 20:33, Pjotr Prins wrote:
> Hi Tim,
>
> I am not sure this helps but in a project I have I use
>
> CPPFLAGS= -std=c++11
>
> and
>
> CPPFLAGS += -I$(GUIX)/include/c++
> -I$(GUIX)/include/c++/x86_64-unknown-linux-gnu
>
> to find include files in Guix context with clang. Wher
Hi Tim,
I am not sure this helps but in a project I have I use
CPPFLAGS= -std=c++11
and
CPPFLAGS += -I$(GUIX)/include/c++
-I$(GUIX)/include/c++/x86_64-unknown-linux-gnu
to find include files in Guix context with clang. Where $(GUIX) is the
profile.
Similar to yours. Glad to hear of a b
Hi,
I noticed the following bug in clang when installed through guix:
Compiling C++ programs does not work because the include path is not set
correctly.
I will use the following test program for compling:
┌
│ #include
│
│ int
│ main()
│ {
│ std::cout << "Hello, World\n";
│ }
└
When