ZRTPCPP icon indicating copy to clipboard operation
ZRTPCPP copied to clipboard

pkg-config: add <includedir>/libzrtcpp to CFLAGS

Open tmatth opened this issue 11 years ago • 4 comments

Also remove broken lines that are not required.

tmatth avatar Jul 14 '14 15:07 tmatth

Fixes issue #16

tmatth avatar Jul 14 '14 15:07 tmatth

LGTM.

Lekensteyn avatar Jan 11 '15 13:01 Lekensteyn

This fix will be in the next release.

Werner

Am 11.01.2015 um 14:59 schrieb Peter Wu:

LGTM.

— Reply to this email directly or view it on GitHub https://github.com/wernerd/ZRTPCPP/pull/17#issuecomment-69495330.

Werner Dittmann email: [email protected] cell: +49 173 44 37 659 PGP key: 82EF5E8B

wernerd avatar Jan 11 '15 14:01 wernerd

This patch does not seem right:

  • previous way to include files (#include <libzrtpcpp/xxx.h>) still works, but now one can also use #include <xxx.h>. Some people will use one some the other.
  • more importantly, not all header files installed by libzrtpcpp are properly namespaced, and this might lead to collisions (for this to work they should all start with Zrtp prefix or something). For example there's common/osSpecifics.h which is too generic to put in the include path.

I think it would be much better to internally include all headers using #include "libzrtpcpp/xxx.h", and only allow users of this library to use #include <libzrtpcpp/xxx.h>, and not modify cflags.

keszybz avatar Apr 19 '15 17:04 keszybz