[pcre-dev] [Bug 1801] Test #18 fails

Top Pagina
Delete this message
Auteur: admin
Datum:  
Aan: pcre-dev
Onderwerp: [pcre-dev] [Bug 1801] Test #18 fails
https://bugs.exim.org/show_bug.cgi?id=1801

--- Comment #7 from Philip Hazel <ph10@???> ---
(In reply to Roy Ivy III from comment #4)

> One additional niggle, discovered when compiling with MSVC, is that MSVC
> shows a warning for "src\pcre2test.c" being not "const-correct" @ lines 3896
> and 3908. Changing lines #3853-4 from:
>
> ```
> const void *nametable;
> const uint8_t *start_bits;
> ```
>
> to
>
> ```
> void *nametable;
> uint8_t *start_bits;
> ```
>
> fixes the warning.
>
> I can open this as another (low-priority) bug if you'd like...


Don't bother. I've changed it, and it doesn't seem to bother gcc. I have to
confess to never really having understood how "const" works.

--
You are receiving this mail because:
You are on the CC list for the bug.