Project

General

Profile

Support #15837

Remove #pragma gcc diagnostic ignored

Added by Eric Flumerfelt over 3 years ago.

Status:
Closed
Priority:
Normal
Category:
Known Issues
Target version:
Start date:
03/10/2017
Due date:
% Done:

0%

Estimated time:
Co-Assignees:
Duration:

Description

Several places in that artdaq code had a diagnostic ignore of -Wwrite-strings due to the way that art is started in the EventStore. The basic issue is that it is an error to initialize a char* array with string literals. I replaced these with const char*[]s and a const_cast to avoid the error.



Also available in: Atom PDF