[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: regex cannot be compiled with g++
From: |
Sam Steingold |
Subject: |
Re: regex cannot be compiled with g++ |
Date: |
Fri, 19 Oct 2007 09:53:12 -0400 |
User-agent: |
Thunderbird 2.0.0.0 (X11/20070326) |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Bruno Haible wrote:
> Sam Steingold wrote:
>> why not just apply the patch?
>
> You can also have your patch automatically applied by gnulib-tool.
> To achieve this:
> - create a directory, say, gnulib-local,
> - store your regcomp.diff in gnulib-local/lib/regcomp.c.diff
> and regexec.diff in gnulib-local/lib/regexec.c.diff,
> - pass the option --local-dir=gnulib-local to gnulib-tool.
>
> The diffs may require updates every few months, when the copy in gnulib
> changes. (gnulib-tool gives an error when a .diff is stored in gnulib-local
> but it does not apply cleanly any more.)
cool! you want me to fork gnulib!
how delightful!
> But it's an alternative to weird Makefile hacks that would use gcc when the
> user specified g++.
both alternatives suck big time.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFHGLbIPp1Qsf2qnMcRAjzBAKCrkNPYJCa2PAlyrODf7LDxRQM0YACfc4RH
RBMV4sKFk6EERF03klzeoEI=
=0B8w
-----END PGP SIGNATURE-----