Skip to content

1.0.14 fails to compile (while 1.0.13 compiles fine)? #73

Closed
@hartwork

Description

@hartwork

Hi! I'm getting compile error with 1.0.14 that I'm not getting with 1.0.13. Any ideas what's wrong?

Environment

  • GCC 7.3.0
  • Subversion 1.11.1
  • Qt 5.11.1

Compiler invocation

x86_64-pc-linux-gnu-g++ -c -march=core2 -msse4.1 --param l1-cache-line-size=64 --param l1-cache-size=32 --param l2-cache-size=6144 -O2 -pipe -Wall -W -D_REENTRANT -fPIC -DVER="\"1.0.14\"" -DQT_NO_DEBUG -DQT_CORE_LIB -I. -I. -isystem /usr/include/subversion-1 -isystem /usr/include/apr-1 -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtCore -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o repository.o repository.cpp

Start of error output

repository.cpp: In function ‘QDataStream& operator<<(QDataStream&, const FastImportRepository::AnnotatedTag&)’:
repository.cpp:263:9: error: ambiguous overload for ‘operator<<’ (operand types are ‘QDataStream’ and ‘quint64 {aka long long unsigned int}’)
     out << annotatedTag.supportingRef
     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
         << annotatedTag.svnprefix
         ~~~~~~~~~~~~~~~~~~~~~~~~~
         << annotatedTag.author
         ~~~~~~~~~~~~~~~~~~~~~~
         << annotatedTag.log
         ~~~~~~~~~~~~~~~~~~~
         << (quint64) annotatedTag.dt
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~

Full build log

(From trying to update the Gentoo package of it, hence the color and Gentoo bits)
svn2git-1.0.14-build-log.txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions