Roland Bock | 18 Nov 21:26

[Regex]: Warnings for unicode regex includes

Hi,

when compiling the following code

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

int main()
{
    return 0;
}
</snip>

with g++ -Wall -Wextra, a bunch of warnings are produced, see below. The 
first two seem trivial to solve, but I don't know about the third.

Is there a workaround to get rid of the warnings (other than to turn of 
the -Wall and -Wextra) and/or should I file a bug report?

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

Regards,

Roland

PS: Here are the warnings I get:
(Continue reading)

John Maddock | 19 Nov 10:45

Re: [Regex]: Warnings for unicode regex includes

Roland Bock wrote:
>> Hi,
>>
>> when compiling the following code
>>
>> <snip>
>> #include <boost/regex.hpp>
>> #include <boost/regex/icu.hpp>
>>
>> int main()
>> {
>>    return 0;
>> }
>> </snip>
>>
>> with g++ -Wall -Wextra, a bunch of warnings are produced, see below.
>> The first two seem trivial to solve, but I don't know about the
>> third.
>>
>> Is there a workaround to get rid of the warnings (other than to turn
>> of the -Wall and -Wextra) and/or should I file a bug report?

I will try and look into this shortly, but can you file a bug report so it 
doesn't get lost?

Thanks, John. 
Roland Bock | 19 Nov 10:56

Re: [Regex]: Warnings for unicode regex includes

Hi,

yes, will do and I will add a diff file too which shows what I have done 
to get rid of the warnings.

Thanks and regards,

Roland

John Maddock wrote:
> Roland Bock wrote:
>>> Hi,
>>>
>>> when compiling the following code
>>>
>>> <snip>
>>> #include <boost/regex.hpp>
>>> #include <boost/regex/icu.hpp>
>>>
>>> int main()
>>> {
>>>    return 0;
>>> }
>>> </snip>
>>>
>>> with g++ -Wall -Wextra, a bunch of warnings are produced, see below.
>>> The first two seem trivial to solve, but I don't know about the
>>> third.
>>>
>>> Is there a workaround to get rid of the warnings (other than to turn
(Continue reading)

Roland Bock | 19 Nov 10:53

Re: [Regex]: Warnings for unicode regex includes

Hi,

by adding another template specialization for unsigned int in 
perl_matcher.hpp I got rid of the third warning. What would be the best 
way to feed this change into boost?

Thanks and regards,

Roland

Roland Bock wrote:
> Hi,
> 
> when compiling the following code
> 
> <snip>
> #include <boost/regex.hpp>
> #include <boost/regex/icu.hpp>
> 
> int main()
> {
>    return 0;
> }
> </snip>
> 
> with g++ -Wall -Wextra, a bunch of warnings are produced, see below. The 
> first two seem trivial to solve, but I don't know about the third.
> 
> Is there a workaround to get rid of the warnings (other than to turn of 
> the -Wall and -Wextra) and/or should I file a bug report?
(Continue reading)


Gmane