Missing include in mvodb.cxx

Issue #13 resolved
Lars Martin created an issue

Compiling on some CERN computers I get an error message about sprintf not being defined in libMidasInterface/mvodb.cxx It goes away and compiles fine when I uncomment the #include <stdio.h> line (line 10).

I guess with standard includes like this it's usually to do with different compiler versions? Installed linux and compiler:

agana@alphacpc04:~/packages/rootana lsb_release -a LSB Version: :core-4.1-amd64:core-4.1-noarch:cxx-4.1-amd64:cxx-4.1-noarch:desktop-4.1-amd64:desktop-4.1-noarch:languages-4.1-amd64:languages-4.1-noarch:printing-4.1-amd64:printing-4.1-noarch Distributor ID: CentOS Description: CentOS Linux release 7.6.1810 (Core) Release: 7.6.1810 Codename: Core

agana@alphacpc04:~/packages/rootana g++ --version g++ (GCC) 4.8.5 20150623 (Red Hat 4.8.5-36)

Comments (1)

  1. Log in to comment