[pcre-dev] [Bug 1038] memcmp not available in pcrecpp_string…

Page principale
Supprimer ce message
Auteur: Thorsten Schöning
Date:  
À: pcre-dev
Sujet: [pcre-dev] [Bug 1038] memcmp not available in pcrecpp_stringpiece.h compiling with BCB 6
------- You are receiving this mail because: -------
You are on the CC list for the bug.

http://bugs.exim.org/show_bug.cgi?id=1038




--- Comment #2 from Thorsten Schöning <tschoening@???> 2010-11-20 17:25:31 ---
(In reply to comment #1)
> Can you find out why Borald isn't finding
> memcmp via string.h? Maybe you can compile with -E, or whatever the
> Borland equivalent is that shows what the file looks like after going
> through the preprocessor?


I used cpp32 for BCB 5 and 6 to produce the output which will be attached next.
The extension .w and .wo stands for with and without my patch. Looks like mem.h
is processed twice with my patch, but without adding any signatures. The output
of cpp32 without patch clearl shows that memcmp is added in the first place.
But it just doesn't work without my patch.

> How do you configure pcre under Borland Builder? Do you get to use
> ./configure and the like, or are you using the cmake build, or
> something else?


I created my own projects by copying the needed *.h.generic and *.h.in to *.h
and *.cc to *.cpp and changed them as needed, what wasn't much to change at
all. I tried cmake for the first time now and it generates some minor different
headers, but the error remains if I build my projects with the changed headers.
The generated makefiles didn't work, but this coudl be due to using cmake the
first time and maybe I did something wrong. Regarding the GUI Borland should be
supported.


--
Configure bugmail: http://bugs.exim.org/userprefs.cgi?tab=email