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

トップ ページ
このメッセージを削除
著者: Craig Silverstein
日付:  
To: pcre-dev
題目: [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 #12 from Craig Silverstein <csilvers@???> 2010-11-21 21:31:43 ---
} I attahced new files, but running cpp32 over the .cc files with .cpp
} ending to ensure that BCB 6 does the right things. Normallay it
} doesn't compile .cc files.

OK, thanks. Comparing the preprocessed output, I don't see a
contentful difference -- you're #including mem.h twice, and the second
time it's not doing anything (though surprisingly it's not protected
by an #ifdef guard).

Actually, the data in your 'with' preprocessed output is extremely
confusing. You see the line mem.h:37, for instance in there twice.
The first time it says:
/* C:\Programme\Borland\CBuilder6\Include\mem.h 37: */void * __cdecl
__memchr__(const void * __s, int __c, std::size_t __n);

The second time it says:
/* C:\Programme\Borland\CBuilder6\Include\mem.h 37: */

The content of mem.h presumably didn't change between them, so why is
the preprocessor not emitting anything the second time? I have a
suspicion cpp32 is not telling us the full story.

Is it possible for you to attach mem.h? It would also be helpful to
attach stl/char_traits.h, and stl/_algobase.h.

craig


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