pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/43237 (pkgsrc/lang/clang: clang++ can't find <iostream>)

The following reply was made to PR pkg/43237; it has been noted by GNATS.

From: "Jeremy C. Reed" <>
Subject: Re: pkg/43237 (pkgsrc/lang/clang: clang++ can't find <iostream>)
Date: Thu, 6 May 2010 06:08:26 -0500 (CDT)

 On Thu, 6 May 2010, wrote:
 > State-Changed-Why:
 > can you try with the latest clang pkg and NetBSD-current?
 > (you might also check wip/clang which tracks svn)
 What changes in NetBSD-current are needed? Using clang++ with latest 
 clang package (not wip) also fails for me with many errors like:
 In file included from /usr/include/g++/cstdlib:70:
 /usr/include/stdlib.h:52:23: error: cannot combine with previous 'int'
       declaration specifier
 typedef _BSD_WCHAR_T_   wchar_t;
 /usr/include/stdlib.h:52:1: error: declaration does not declare anything
 typedef _BSD_WCHAR_T_   wchar_t;
 In file included from /usr/include/g++/bits/gthr.h:118:
 /usr/include/g++/bits/gthr-default.h:96:1: error: weakref declaration of
       '__gthrw_pthread_once' must be static
 I am using NetBSD 5.0.0_PATCH from last summer. I am hoping I don't have 
 to upgrade to netbsd-current to use clang.

Home | Main Index | Thread Index | Old Index