View previous topic :: View next topic |
Author |
Message |
blueness
Joined: 09 Jan 2012 Posts: 4
|
Posted: Sun May 24, 2015 12:08 pm Post subject: libnatpmp-20140401-r1 + miniupnpc-1.9.20150427 header clash |
|
|
<declspec.h> from libnatpmp-20140401-r1 clashes with <miniupnpc/declspec.h> from miniupnpc-1.9.20150427. Both use DECLSPEC_H_INCLUDED and yet one defines LIBSPEC while the other defines MINIUPNP_LIBSPEC for the same compiler attribute. In applications like tor or transmission which use both, this is a problem. |
|
Back to top |
|
 |
blueness
Joined: 09 Jan 2012 Posts: 4
|
|
Back to top |
|
 |
miniupnp Site Admin
Joined: 14 Apr 2007 Posts: 1594
|
|
Back to top |
|
 |
martyk
Joined: 06 Jun 2015 Posts: 3 Location: Australia
|
Posted: Sat Jun 06, 2015 1:58 pm Post subject: |
|
|
Are you still active? (Cheating on my first post so I can post a topic) |
|
Back to top |
|
 |
blueness
Joined: 09 Jan 2012 Posts: 4
|
Posted: Wed Jun 10, 2015 1:34 pm Post subject: |
|
|
martyk wrote: | Are you still active? (Cheating on my first post so I can post a topic) |
please don't steal a thread. |
|
Back to top |
|
 |
blueness
Joined: 09 Jan 2012 Posts: 4
|
Posted: Wed Jun 10, 2015 1:36 pm Post subject: |
|
|
miniupnp wrote: | I don't know how to fix this right. |
What about changing the names of the headers and using include guards. |
|
Back to top |
|
 |
|