Skip to content

changes to fix error: cannot convert ‘const value_type*’#6

Merged
ns408 merged 2 commits intoMeshbits:devfrom
satindergrewal:dev
Jun 13, 2020
Merged

changes to fix error: cannot convert ‘const value_type*’#6
ns408 merged 2 commits intoMeshbits:devfrom
satindergrewal:dev

Conversation

@ns408
Copy link
Copy Markdown
Member

@ns408 ns408 commented Jun 13, 2020

Fix for:

+ make subatomic_win
x86_64-w64-mingw32-g++-posix -c -std=c++17 -Wfatal-errors -Wall -Wextra -Werror subatomic_utils.cpp
subatomic_utils.cpp: In function ‘char* get_komodo_config_path()’:
subatomic_utils.cpp:89:32: error: cannot convert ‘const value_type*’ {aka ‘const wchar_t*’} to ‘const char*’
   89 |   return strdup(conf_root.c_str());
      |                 ~~~~~~~~~~~~~~~^~
      |                                |
      |                                const value_type* {aka const wchar_t*}
compilation terminated due to -Wfatal-errors.
make: *** [Makefile:21: subatomic_win] Error 1
##[error]Process completed with exit code 2.

@ns408 ns408 merged commit cbc2e45 into Meshbits:dev Jun 13, 2020
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

Successfully merging this pull request may close these issues.

2 participants