The FreeType Project - Bugs: bug #54330, dllexport defined even if build as...
You are not allowed to post comments on this tracker with your current authentication level.
bug #54330: dllexport defined even if build as static library
Submitter: | None | ||
Submitted: | Wed 18 Jul 2018 11:50:11 AM UTC | ||
Severity: | 3 - Normal | Item Group: | Hack required |
Status: | Duplicate | Privacy: | Public |
Assigned to: | podtelez | Open/Closed: | Closed |
Planned Release: | 2.10.0 |
Mon 23 Jul 2018 02:43:10 PM UTC, comment #4: |
Alexei Podtelezhnikov <podtelez> |
Mon 23 Jul 2018 10:59:17 AM UTC, comment #3: I just looked through the open bugs and found:
|
Anonymous |
Mon 23 Jul 2018 10:52:47 AM UTC, comment #2: Hi,
I do not think the issue is not limited to CMake. I suggest the following steps to reproduce the problem: 1. Compile FreeType as a static library using MSVC and ensure that the option /MD or /MDd is set. 2. Build a DLL that links against the static FreeType library. 3. Run "dumpbin /exports" on the final DLL. In the last step, you will see that your DLL exports all FreeType functions. |
Anonymous |
Thu 19 Jul 2018 09:22:41 PM UTC, comment #1: FreeType's cmake support is contributed code, and cmake used on Windows is probably the least used combination... This means there might be real issues.
|
Werner LEMBERG <wl> |
Wed 18 Jul 2018 11:50:11 AM UTC, original submission:
Hi,
|
Anonymous |
No files currently attached
Depends on the following items: None found
Items that depend on this one: None found
There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.
Follow 5 latest changes.
Date | Changed by | Updated Field | Previous Value | => | Replaced by |
---|---|---|---|---|---|
2018-07-25 | podtelez | Open/Closed | Open | Closed | |
Planned Release | None | 2.10.0 | |||
2018-07-23 | wl | Status | Need Info | Duplicate | |
Assigned to | None | podtelez | |||
2018-07-19 | wl | Status | None | Need Info |
Powered by Savane 3.13-f8d8.
Corresponding source code
Isn't this wrong build setup? Seriously, I am not a Windows expert and do not know if there is any valid reason to build static library with /MD instead of /MT.