Opened 2 years ago

Closed 23 months ago

#66516 closed defect (fixed)

cantor @4.14.3_5 +debug+docs: error: unknown type name 'string'; did you mean 'std::string'?

Reported by: cooljeanius (Eric Gallager) Owned by: NicosPavlov <pavillon.nicolas@…>
Priority: Normal Milestone:
Component: ports Version: 2.8.0
Keywords: Cc: NicosPavlov
Port: cantor

Description

make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_kde_cantor/cantor/work/build'
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_kde_cantor/cantor/work/cantor-4.14.3/src/backends/qalculate/qalculateexpression.cpp:104:9: error: unknown type name 'string'; did you mean 'std::string'?
        string expression = unlocalizeExpression(command);
        ^~~~~~
        std::string
/Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/iosfwd:210:65: note: 'std::string' declared here
typedef basic_string<char, char_traits<char>, allocator<char> > string;
                                                                ^
[ 94%] Built target cantor_kalgebrabackend
[ 94%] Linking CXX shared module ../../../../lib/cantor_qalculateplotassistant.so
cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_kde_cantor/cantor/work/build/src/backends/qalculate/plotassistant && /opt/local/bin/cmake -E cmake_link_script CMakeFiles/cantor_qalculateplotassistant.dir/link.txt --verbose=ON
/usr/bin/clang++ -pipe -Os -g -fno-limit-debug-info -DDEBUG -stdlib=libc++ -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk -fno-common -arch x86_64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk -mmacosx-version-min=11.0 -bundle -Wl,-headerpad_max_install_names -multiply_defined suppress -Wl,-headerpad_max_install_names -g -fno-limit-debug-info -DDEBUG -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk -o ../../../../lib/cantor_qalculateplotassistant.so CMakeFiles/cantor_qalculateplotassistant.dir/cantor_qalculateplotassistant_automoc.o CMakeFiles/cantor_qalculateplotassistant.dir/qalculateplotassistant.o CMakeFiles/cantor_qalculateplotassistant.dir/settings.o  -Wl,-rpath,/opt/local/lib ../../../../lib/libcantorlibs.0.0.4.dylib /opt/local/lib/libkdeui.5.14.3.dylib /opt/local/libexec/qt4/lib/libQtGui.dylib /opt/local/libexec/qt4/lib/libQtSvg.dylib /opt/local/lib/libkdecore.5.14.3.dylib /opt/local/libexec/qt4/lib/libQtDBus.dylib /opt/local/libexec/qt4/lib/libQtCore.dylib -framework Carbon 
1 error generated.
make[2]: *** [src/backends/qalculate/CMakeFiles/cantor_qalculatebackend.dir/qalculateexpression.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_kde_cantor/cantor/work/build'
[ 95%] Built target cantor_qalculateplotassistant
make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_kde_cantor/cantor/work/build'
make[1]: *** [src/backends/qalculate/CMakeFiles/cantor_qalculatebackend.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....

Attachments (1)

cantor_main.log (1.4 MB) - added by cooljeanius (Eric Gallager) 2 years ago.
main.log for cantor

Download all attachments as: .zip

Change History (2)

Changed 2 years ago by cooljeanius (Eric Gallager)

Attachment: cantor_main.log added

main.log for cantor

comment:1 Changed 23 months ago by NicosPavlov <pavillon.nicolas@…>

Owner: set to NicosPavlov <pavillon.nicolas@…>
Resolution: fixed
Status: newclosed

In c0761cad0ce2f1271856d07bf59893b67497dccc/macports-ports (master):

cantor: fix string definition (fixes #66516)

Note: See TracTickets for help on using tickets.