libfreesrp icon indicating copy to clipboard operation
libfreesrp copied to clipboard

Reference to 'FreeSRP' is ambiguous

Open gvanem opened this issue 4 years ago • 1 comments

I have trouble compiling these sources with clang-cl. E.g. on util.cpp:

../libfreesrp/src/util.cpp(52,6): error: reference to 'FreeSRP' is ambiguous
bool FreeSRP::Util::find_fx3(bool upload_firmware, std::string filename)
     ^
../libfreesrp/include\freesrp.hpp(64,11): note: candidate found by name lookup is 'FreeSRP'
namespace FreeSRP
          ^
../libfreesrp/include\freesrp.hpp(181,11): note: candidate found by name lookup is 'FreeSRP::FreeSRP'
    class FreeSRP
          ^

What's up with this? I'm no C++ expert to tell myself.

gvanem avatar Nov 12 '20 13:11 gvanem

i had the same problem. fix is here https://github.com/myriadrf/libfreesrp/pull/6

cozycactus avatar Mar 16 '22 11:03 cozycactus