Modify

Ticket #2514 (closed Bugs: fixed)

Opened 5 years ago

Last modified 5 years ago

Warnings for unicode regex includes

Reported by: rbock@… Owned by: johnmaddock
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

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

Change History

Changed 5 years ago by rbock@…

The warnings I get

Changed 5 years ago by rbock@…

The changes I applied (diff generated by local svn)

comment:1 Changed 5 years ago by johnmaddock

  • Status changed from new to closed
  • Resolution set to fixed

(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.

View

Add a comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
The resolution will be deleted. Next status will be 'reopened'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.