Boost C++ Libraries: Ticket #2514: Warnings for unicode regex includes https://svn.boost.org/trac10/ticket/2514 <p> Hi, </p> <p> when compiling the following code </p> <pre class="wiki">#include &lt;boost/regex.hpp&gt; #include &lt;boost/regex/icu.hpp&gt; int main() { return 0; } </pre><p> with g++ -Wall -Wextra, a bunch of warnings are produced, see attachment. </p> <p> I patched my own system to get rid of the warnings, see second attachment. </p> <p> System information: Ubuntu 8.04, 64bit gcc 4.2.4 boost 1.36 </p> <p> Regards, </p> <p> Roland </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/2514 Trac 1.4.3 rbock@… Wed, 19 Nov 2008 10:13:51 GMT attachment set https://svn.boost.org/trac10/ticket/2514 https://svn.boost.org/trac10/ticket/2514 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">regex.warnings.txt</span> </li> </ul> <p> The warnings I get </p> Ticket rbock@… Wed, 19 Nov 2008 10:15:10 GMT attachment set https://svn.boost.org/trac10/ticket/2514 https://svn.boost.org/trac10/ticket/2514 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">regex.diff.txt</span> </li> </ul> <p> The changes I applied (diff generated by local svn) </p> Ticket John Maddock Tue, 23 Dec 2008 11:46:10 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/2514#comment:1 https://svn.boost.org/trac10/ticket/2514#comment:1 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">fixed</span> </li> </ul> <p> (In <a class="changeset" href="https://svn.boost.org/trac10/changeset/50370" title="Fix gcc warnings from ICU wrappers. Add optional support for marked ...">[50370]</a>) Fix gcc warnings from ICU wrappers. Add optional support for marked sub-expression location information. Add support for ${n} in format replacement text. Fixes <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/2556" title="#2556: Bugs: Perl regex replacement (closed: fixed)">#2556</a>. Fixes <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/2269" title="#2269: Library Submissions: Regex marked parenthesis fetching (closed: fixed)">#2269</a>. Fixes <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/2514" title="#2514: Bugs: Warnings for unicode regex includes (closed: fixed)">#2514</a>. </p> Ticket