pkgsrc-Bugs archive

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

Re: pkg/46273 (textproc/groff does not compile on Solaris with older compilers)



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

From: "Filip Hajny" <filip%joyent.com@localhost>
To: "Tim Zingelman" <tez%netbsd.org@localhost>
Cc: <gnats-bugs%netbsd.org@localhost>,
        "Hans Rosenfeld" <hans%netbsd.org@localhost>,
        <solaris-pkg-people%netbsd.org@localhost>,
        <pkgsrc-bugs%netbsd.org@localhost>,
        "Thomas Klausner" <wiz%netbsd.org@localhost>,
        =?iso-8859-1?Q?J=F6rn_Clausen?= 
<joern.clausen%uni-bielefeld.de@localhost>
Subject: Re: pkg/46273 (textproc/groff does not compile on Solaris with older 
compilers)
Date: Sat, 31 Mar 2012 12:43:01 +0200

 On 31. 3. 2012, at 0:03, Tim Zingelman wrote:
 
 > This breaks my compile on Solaris 10, using gcc44 (from pkgsrc) too,
 > so it is not only gcc 3.x affected.
 >=20
 > What exactly was this supposed to fix?  I would like to revert it.
 > You can add it back as an option perhaps?
 >=20
 > - Tim
 
 I believe it's to fix building with GCC 4.6. g++ 4.6 *forces* __STDC_VERSIO=
 N__=3D199901L on SunOS, which is evaluated as _STDC_C99 in sys/feature_test=
 s.h, hence any C++ code that tries to define _XPG<6 which trigger an error =
 in sys/feature_tests.h.
 
 -F=
 


Home | Main Index | Thread Index | Old Index