Author Topic: BUILD_DLL not defined when the compiler is Clang  (Read 1763 times)

Offline gh_origin

  • Multiple posting newcomer
  • *
  • Posts: 48
BUILD_DLL not defined when the compiler is Clang
« on: December 05, 2020, 03:28:39 pm »
I tried to compile the sample DLL with Clang but it failed mysteriously. After checked the main.h sample header, I found BUILD_DLL was not defined on the project's Build options... When the compiler is GCC, it's properly defined there. Adding BUILD_DLL back will let Clang produce a DLL as normal. Please fix this minor bug. Thanks.

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13438
    • Travis build status
Re: BUILD_DLL not defined when the compiler is Clang
« Reply #1 on: December 05, 2020, 04:05:59 pm »
Generally problem reporting should happen on the ticket page in https://sourceforge.net/p/codeblocks/tickets/
Here it will get lost eventually.
If you post there please post version info and steps to reproduce.
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline gh_origin

  • Multiple posting newcomer
  • *
  • Posts: 48
Re: BUILD_DLL not defined when the compiler is Clang
« Reply #2 on: December 12, 2020, 03:15:39 pm »
Generally problem reporting should happen on the ticket page in https://sourceforge.net/p/codeblocks/tickets/
Here it will get lost eventually.

Sorry. I don't know about that.