Make include guards unique
elfring opened this issue · 3 comments
elfring commented
robxu9 commented
For DPX_H
, I don't think we'll hit anything significant. I'm willing to change it to DUPLEX_H just in case.
As for TASK_H
, since we're already vendoring libtask, I will most likely be -Wl,--whole-archive
'ing it into libdpx.so so that's one less library that clients have to worry about, and therefore task.h
won't even matter.
elfring commented
How do you think about to make them unique by appending a kind of UUID?
progrium commented
That seems like a little overkill. It's pretty easy to manually fix this yourself in the rare case it's not good enough.