mikevoyt / protobuf-embedded-c

Automatically exported from code.google.com/p/protobuf-embedded-c
0 stars 0 forks source link

Internal functions not declared static #53

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
The "general functions" that are generated (_memcmp etc.) aren't given 
prototypes in the header as you might expect as they are private, but aren't 
declared 'static' so those symbols will be exposed from the object file, 
potentially conflicting with other public symbols in the application.

Original issue reported on code.google.com by w...@wykeham.net on 25 Apr 2014 at 1:32

GoogleCodeExporter commented 9 years ago
This is actually the root cause of Issue 20. Fixing this would fix that 
(although not in the most optimal way as you'd have more than one of those 
functions linked in).

Original comment by w...@wykeham.net on 25 Apr 2014 at 1:35