[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: error while running make check (g++ 4.7.0): missing include of unist
From: |
John Mandereau |
Subject: |
Re: error while running make check (g++ 4.7.0): missing include of unistd.h |
Date: |
Mon, 30 Jul 2012 15:50:46 +0200 |
2012/7/30 Frédéric Bron <address@hidden>:
>> I wanted to run regression tests and compare before and after a change.
>> However, I obtained the error given below after make -j8 CPU_COUNT=8 check
>>
>> I suspect this is because I am compiling with gcc/g++ 4.7.0 (coming
>> with Fedora 17) and its release notes say:
>> "Avoid polluting the global namespace and do not include <unistd.h>."
>> we should then include
>> #include <sys/types.h>
>> #include <unistd.h>
>> before using getpid and getcwd.
>
> Who can review my patch?
> http://codereview.appspot.com/6434048
To make our life easier with verifying that the build of sources with
your patch passes, we currently use Google Code issues. As Graham
pointed out, I created one manually, but please do so next time, which
should be done if you enter login details in git-cl:
Best,
John
- Re: Fwd: error while running make check (g++ 4.7.0): missing include of unistd.h, (continued)
- Re: Fwd: error while running make check (g++ 4.7.0): missing include of unistd.h, Graham Percival, 2012/07/23
- Re: Fwd: error while running make check (g++ 4.7.0): missing include of unistd.h, Frédéric Bron, 2012/07/23
- Re: Fwd: error while running make check (g++ 4.7.0): missing include of unistd.h, Graham Percival, 2012/07/23
- Re: Fwd: error while running make check (g++ 4.7.0): missing include of unistd.h, David Kastrup, 2012/07/23
- Re: Fwd: error while running make check (g++ 4.7.0): missing include of unistd.h, Frédéric Bron, 2012/07/23
- Re: Fwd: error while running make check (g++ 4.7.0): missing include of unistd.h, David Kastrup, 2012/07/23
- Re: Fwd: error while running make check (g++ 4.7.0): missing include of unistd.h, Frédéric Bron, 2012/07/23
- Re: Fwd: error while running make check (g++ 4.7.0): missing include of unistd.h, David Kastrup, 2012/07/24
Re: error while running make check (g++ 4.7.0): missing include of unistd.h, Frédéric Bron, 2012/07/30