[cfe-dev] RC1 compilation error with 10.6 SDK
Benjamin Kramer
benny.kra at googlemail.com
Tue Nov 8 11:37:48 PST 2011
Hi Bill,
I believe the reason for this behavior is that r142531 is missing from the release_30 branch.
Can you squeeze it in? It's important and already Doug-approved.
Correct function can be verified on OSX and xcode4.2 with
$ clang -cc1 -fsyntax-only /Developer/SDKs/MacOSX10.6.sdk/usr/include/unistd.h
- Ben
On 08.11.2011, at 14:36, Somorjai, Akos wrote:
> Hello Ben,
>
> The same problem shows up with the rc3 build. Could you please get this
> fixed before the final release?
>
> Thanks,
>
> Ákos
>
>
> On 11/7/11 4:54 PM, "Somorjai, Akos" <ASomorjai at graphisoft.com> wrote:
>
>> clang version 3.0 (tags/RELEASE_30/rc1)
>> Target: x86_64-apple-darwin11.2.0
>> Thread model: posix
>>
>>
>>
>> Ákos
>>
>>
>> On 11/7/11 4:41 PM, "Benjamin Kramer" <benny.kra at googlemail.com> wrote:
>>
>>>
>>> On 07.11.2011, at 16:01, Somorjai, Akos wrote:
>>>
>>>> I get the following error if I try to compile with the current 10.6 SDK
>>>> on Mac OS X:
>>>>
>>>>
>>>> /Volumes/Work/D-084/MakeAdds/OSX/SDKs/MacOSX10.6.sdk/usr/include/unistd.
>>>> h
>>>> :512:8: error: declaration of built-in function 'vfork' requires
>>>> inclusion of the header <setjmp.h> [-Werror]
>>>>
>>>> The official Apple build (from the Xcode 4.2 tools) didn't exhibit the
>>>> same problem.
>>>> I know I could turn off '-Werror', but my goal is to increase the
>>>> warning level.
>>>>
>>>> This is a real problem for freeware sources, because we would like to
>>>> keep them intact.
>>>>
>>>> Shall I wait for the next official Apple release, or is it something
>>>> that can be fixed here?
>>>
>>> This is fixed in trunk (r142007) and (I believe) 3.0. What version of
>>> clang are you using?
>>>
>>> - Ben
>>
>>
>> _______________________________________________
>> cfe-dev mailing list
>> cfe-dev at cs.uiuc.edu
>> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
>
More information about the cfe-dev
mailing list