Back Midas Rome Roody Rootana
  Midas DAQ System  Not logged in ELOG logo
Entry  09 Nov 2013, Razvan Stefan Gornea, Forum, Installation problem output.log
    Reply  10 Nov 2013, Stefan Ritt, Forum, Installation problem 
    Reply  11 Nov 2013, Konstantin Olchanski, Forum, Installation problem 
       Reply  11 Nov 2013, Konstantin Olchanski, Forum, Installation problem 
       Reply  13 Nov 2013, Konstantin Olchanski, Forum, Installation problem 
          Reply  13 Nov 2013, Stefan Ritt, Forum, Installation problem 
       Reply  14 Nov 2013, Razvan Stefan Gornea, Forum, Installation problem 
          Reply  14 Nov 2013, Konstantin Olchanski, Forum, Installation problem 
    Reply  12 Nov 2013, Stefan Ritt, Forum, Installation problem 
       Reply  14 Nov 2013, Konstantin Olchanski, Forum, Installation problem 
Message ID: 931     Entry time: 12 Nov 2013     In reply to: 927     Reply to this: 936
Author: Stefan Ritt 
Topic: Forum 
Subject: Installation problem 
The warnings with the set but unused variables are real. While John O'Donnell proposed:

==========

somewhere I long the way I found an include file to help remove this kind of message.  try something like:

#include "use.h"
int foo () { return 3; }
int main () {
 { USED int i=foo(); }
 return 0;
}

with -Wall, and you will see the unused messages are gone.

==========

I would rather go and remove the unused variables to clean up the code a bit. Unfortunately my gcc version does 
not yet bark on that. So once I get a new version and I got plenty of spare time (....) I will consider removing all 
these variables.

/Stefan
ELOG V3.1.4-2e1708b5