Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OSX compilation error: no matching constructor for initialization of 'ProguardMap' #121

Closed
bubbleguuum opened this issue Apr 26, 2016 · 1 comment

Comments

@bubbleguuum
Copy link

bubbleguuum commented Apr 26, 2016

OSX El Capitan 10.11.4, latest Xcode, fresh git code as of today.

libtool: compile: g++ -DHAVE_CONFIG_H -I. -I./configparser -I./include -I./liblocator -I./libresource -I./libresource/android -I./libresource/androidfw -I./libresource/cutils -I./libresource/system -I./libresource/utils -I./opt -I./opt/annoclasskill -I./opt/annokill -I./opt/bridge -I./opt/delinit -I./opt/delsuper -I./opt/final_inline -I./opt/interdex -I./opt/local-dce -I./opt/peephole -I./opt/rebindrefs -I./opt/remove_empty_classes -I./opt/renameclasses -I./opt/shorten-srcstrings -I./opt/simpleinline -I./opt/singleimpl -I./opt/static-sink -I./opt/staticrelo -I./opt/synth -I./opt/unterface -I./third-party/folly -I./util --std=gnu++11 -O3 -Wall -g -g -O2 -MT libredex/ConfigFiles.lo -MD -MP -MF libredex/.deps/ConfigFiles.Tpo -c libredex/ConfigFiles.cpp -fno-common -DPIC -o libredex/.libs/ConfigFiles.o
libredex/ConfigFiles.cpp:20:5: error: no matching constructor for initialization of 'ProguardMap'
m_proguard_map(
^
./include/ProguardMap.h:34:8: note: candidate constructor (the implicit move constructor) not viable: no known conversion from 'fbstring' (aka 'basic_fbstring') to 'ProguardMap' for 1st argument
struct ProguardMap {
^
./include/ProguardMap.h:34:8: note: candidate constructor (the implicit copy constructor) not viable: no known conversion from 'fbstring' (aka 'basic_fbstring') to 'const ProguardMap' for 1st argument
./include/ProguardMap.h:38:12: note: candidate constructor not viable: no known conversion from 'fbstring' (aka 'basic_fbstring') to 'const std::string' (aka 'const basic_string<char, char_traits, allocator >') for 1st
argument
explicit ProguardMap(const std::string& filename);
^
./include/ProguardMap.h:44:12: note: candidate constructor [with IStream = folly::basic_fbstring<char, std::__1::char_traits, std::__1::allocator, folly::fbstring_core >] not viable: expects an l-value for 1st argument
explicit ProguardMap(IStream& is) {
^

@bertmaher
Copy link
Contributor

Ugh, sorry, someone broke our trunk. Fix is pushing now.

@ghost ghost closed this as completed in e02c91f Apr 26, 2016
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants