Uploaded image for project: 'Qt for Python'
  1. Qt for Python
  2. PYSIDE-114

cppgenerator.cpp compile warning equality comparison result unused should be assignment

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • Not Evaluated
    • None
    • 1.2.x
    • Shiboken
    • None
    • all

    Description

      when compiling ccpgenerator.cpp a warning is output for an == equality check that probably should be an assignment

      [ 59%] Building CXX object generator/CMakeFiles/shiboken.dir/main.cpp.o
      /Users/warnold/pyside/shiboken-1.1.1/generator/shiboken/cppgenerator.cpp:1731:32: warning: equality comparison result unused [-Wunused-comparison]
      strArg == "2-tuple";
      ~~~~~~^~~~~~~~~~~
      /Users/warnold/pyside/shiboken-1.1.1/generator/shiboken/cppgenerator.cpp:1731:32: note: use '=' to turn this equality comparison into an assignment
      strArg == "2-tuple";
      ^~
      =
      [ 59%] Building CXX object generator/CMakeFiles/shiboken.dir/qtdoc/qtdocgenerator.cpp.o

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            Unassigned Unassigned
            warnold Wayne Arnold
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes