Project

Profile

Help

Bug #5252

closed

Building the command line tools issues a couple of warnings

Added by Norm Tovey-Walsh about 2 years ago. Updated almost 2 years ago.

Status:
Closed
Priority:
Low
Category:
C API
Start date:
2022-01-28
Due date:
% Done:

100%

Estimated time:
Found in version:
11.1
Fixed in version:
11.3
Platforms:

Description

ndw@ubuntu:~/saxonica/libsaxon-HEC-11.1/command$ sh ./buildhec-command.sh 
Transform.c: In function 'checkForException':
Transform.c:337:2: warning: format not a string literal and no format arguments [-Wformat-security]
  337 |  printf(utfName);
      |  ^~~~~~
Query.c: In function 'checkForException':
Query.c:330:2: warning: format not a string literal and no format arguments [-Wformat-security]
  330 |  printf(utfName);
      |  ^~~~~~

Please register to edit this issue

Also available in: Atom PDF