Re: GTK+ 2.11.3 released



On Mon, 2007-06-18 at 21:08 -0400, Elijah Newren wrote:
> On 6/18/07, Hubert Figuiere <hfiguiere teaser fr> wrote:
> >
> > > A simpler and faster solution would just be to scan all public headers
> > > for known C++ keywords, it would also avoid the (build time) dependency
> > > of a C++ compiler.
> >
> > I don't agree with that one. It is much simplier to add a C++ compile
> > test. Afterall, which platform does not have a C++ compiler? Why
> > reinventing the wheel yet again to make it square?
> 
> Do all embedded platforms have a C++ compiler?  And are there really
> that many C++-specific keywords?

That's a moot point.  It's just a test.  If there is a C++ compiler, you
test it, otherwise you skip it.  Pango has been doing that for the exact
same thing forever.  And nobody ever complained.  Check
pango/tests/cxx-test.C.  It takes 10 minutes to write a similar Gtk+
test.  (And glib too)

-- 
behdad
http://behdad.org/

"Those who would give up Essential Liberty to purchase a little
 Temporary Safety, deserve neither Liberty nor Safety."
        -- Benjamin Franklin, 1759






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]