Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Rule 5-2-6 and dynamicaly loading (.dll / .so)
#3
Quote:I think the behavior of explicit dynamic linking with dlopen/dlsym is undefined if the function signature does not match:
You might be right about this, but the way this rule is written, it prevents the use of this functionality even if the signatures match.

Quote:I would always prefer implicit dynamic linking (e.g. -llibrary) because of the type checking involved
I would also prefer this, but this prevents me from supllying an SDK, for which a project can write its own plugins.
Same problem arises if I am using a 3rd party SDK.
<t></t>
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)