BrotherHongChen / google-breakpad

Automatically exported from code.google.com/p/google-breakpad
0 stars 0 forks source link

Conflicts due to the name of the re-implementations of libc functions (e.g. my_strlen) #497

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
The "my" prefix is quite popular (especially in MySQL), causing function name 
conflicts while compiling or linking. It would be helpful if a better prefix 
was used in order to avoid namespace conflicts with other projects. For 
example, the `bp` (for breakpad) prefix could be used instead.

Original issue reported on code.google.com by davi.arn...@gmail.com on 18 Sep 2012 at 2:31

GoogleCodeExporter commented 9 years ago
I'm not sure why these are defined extern "C". It seems like we could just wrap 
these in a namespace instead.

Original comment by ted.mielczarek on 18 Sep 2012 at 3:41