05:38:53 Hi 18:49:17 can't compile release-v0.18 on latest fedora 43, command_line.h:187:8: error: definition with same mangled name '_ZN12command_line7add_argIbLb0ELb0ELi1EEEvRN5boost15program_options19options_descriptionERKNS_14arg_descriptorIT_XT0_EXT1_EXT2_EEEb' as another definition 18:52:08 (somehow seraphis fork does work?) 18:54:44 Fcmp fork is of master 18:57:11 yeah, but this is old code (last touched 2018) 18:57:26 I got this with clang-21 the other day. The fix isn't too bad, I'll issue a pr 18:57:40 untouched in fcmp 18:58:11 got a patch meanwhile for it? 18:59:14 Yeah just remove the `template<>` line and make the third parameter optional by defaulting to false 18:59:28 Hold on 19:00:09 Or make it true sorry 19:01:08 ``` 19:01:13 ``` 19:01:14 diff --git a/src/common/command_line.h b/src/common/command_line.h 19:01:16 index 681eb903b..a8a718012 100644 19:01:18 --- a/src/common/command_line.h 19:01:20 +++ b/src/common/command_line.h 19:01:22 @@ -207,8 +207,7 @@ namespace command_line 19:01:24 description.add_options()(arg.name, make_semantic(arg, def), arg.description); 19:01:26 } 19:01:28 19:01:30 - template<> 19:01:32 - inline void add_arg(boost::program_options::options_description& description, const arg_descriptor& arg, bool unique) 19:02:34 ^ 19:02:36 ``` 19:02:38 monero/src/common/command_line.h:211:126: error: redefinition of default argument 19:02:40 211 | inline void add_arg(boost::program_options::options_description& description, const arg_descriptor& arg, bool unique = true) 19:02:42 | ^ ~~~~ 19:02:44 monero/src/common/command_line.h:187:140: note: previous definition is here 19:02:46 187 | void add_arg(boost::program_options::options_description& description, const arg_descriptor& arg, bool unique = true) 19:02:48 ``` 19:03:06 lol so much for an easy fix. what compiler is this? 19:03:56 clang 21.1.8 19:05:19 let me double check what I did previously, this was from memory 19:15:16 I dont know, this works with clang 21.1.8 on gentoo 19:23:07 was the `template<>` removed? I get that error if that line is not removed 20:43:21 right, I didn't remove it