Developer forums (C::B DEVELOPMENT STRICTLY!) > Development

LLVM Clang 10 no longer supports -Wl,--dll

<< < (3/6) > >>

Miguel Gimenez:
I don't know why the line got duplicated, possibly it is BOM-related. I edited it with Notepad++, and only changed the options part.

Miguel Gimenez:
I repeated the same steps, duplication does not happen  ???. This is the corrected patch.

oBFusCATed:
@Miguel Gimenez This patch is not good. It doesn't handle future versions and requires constant changes with every new version of clang. You need to somehow make a test that does '<10' or something similar. But unfortunately Compiler::EvalXMLCondition doesn't seem to support such conditions. :(

Miguel Gimenez:
It is just a proof of concept, if it were a finished patch I would have published it in a ticket.

Miguel Gimenez:
Probably changing the regex from
--- Code: ---^(10|11|12)
--- End code ---
to
--- Code: ---^([0-9][0-9]+)
--- End code ---
or
--- Code: ---^([0-9]{2,})
--- End code ---
is enough. I don't have Clang.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version