Opened 14 years ago

Closed 14 years ago

#2514 closed Bugs (fixed)

Warnings for unicode regex includes

Reported by: rbock@… Owned by: John Maddock
Milestone: Boost 1.38.0 Component: regex
Version: Boost 1.36.0 Severity: Problem
Keywords: regex warning unicode Cc:

Description

Hi,

when compiling the following code

#include <boost/regex.hpp>
#include <boost/regex/icu.hpp>

int main()
{
   return 0;
}

with g++ -Wall -Wextra, a bunch of warnings are produced, see attachment.

I patched my own system to get rid of the warnings, see second attachment.

System information: Ubuntu 8.04, 64bit gcc 4.2.4 boost 1.36

Regards,

Roland

Attachments (2)

regex.warnings.txt (3.4 KB ) - added by rbock@… 14 years ago.
The warnings I get
regex.diff.txt (1.9 KB ) - added by rbock@… 14 years ago.
The changes I applied (diff generated by local svn)

Download all attachments as: .zip

Change History (3)

by rbock@…, 14 years ago

Attachment: regex.warnings.txt added

The warnings I get

by rbock@…, 14 years ago

Attachment: regex.diff.txt added

The changes I applied (diff generated by local svn)

comment:1 by John Maddock, 14 years ago

Resolution: fixed
Status: newclosed

(In [50370]) Fix gcc warnings from ICU wrappers. Add optional support for marked sub-expression location information. Add support for ${n} in format replacement text. Fixes #2556. Fixes #2269. Fixes #2514.

Note: See TracTickets for help on using tickets.