Build failure with clang #13

Closed
opened 2 years ago by Ray-V · 3 comments
Ray-V commented 2 years ago
Collaborator
/tmp/build/tmp-kdbg/kdbg-trinity-14.0.12/kdbg/gdbdriver.cpp:905:68: error: cannot pass non-trivial object of type 'TQString' to variadic method; expected type from format string was 'char *' [-Wnon-pod-varargs]
            TRACE(TQString().sprintf("parse error: = not found after %s", name));
                                                                     ~~   ^~~~
/tmp/build/tmp-kdbg/kdbg-trinity-14.0.12/kdbg/mydebug.h:25:34: note: expanded from macro 'TRACE'
# define TRACE(x) (kdDebug() << (x) << endl)
                                 ^
``` /tmp/build/tmp-kdbg/kdbg-trinity-14.0.12/kdbg/gdbdriver.cpp:905:68: error: cannot pass non-trivial object of type 'TQString' to variadic method; expected type from format string was 'char *' [-Wnon-pod-varargs] TRACE(TQString().sprintf("parse error: = not found after %s", name)); ~~ ^~~~ /tmp/build/tmp-kdbg/kdbg-trinity-14.0.12/kdbg/mydebug.h:25:34: note: expanded from macro 'TRACE' # define TRACE(x) (kdDebug() << (x) << endl) ^ ```
Owner

I was able to reproduce this and made a fix in the above commits.

@Ray-V can you confirm it works fine on your end too?

I was able to reproduce this and made a fix in the above commits. @Ray-V can you confirm it works fine on your end too?
MicheleC added this to the R14.0.13 release milestone 2 years ago
Ray-V commented 2 years ago
Poster
Collaborator

All ok.

All ok.
Owner

Thanks.

Thanks.
MicheleC closed this issue 2 years ago
Sign in to join this conversation.
No Milestone
No Assignees
2 Participants
Notifications
Due Date

No due date set.

Dependencies

No dependencies set.

Reference: TDE/kdbg#13
Loading…
There is no content yet.