|
Back
Midas
Rome
Roody
Rootana
|
Midas DAQ System |
Not logged in |
|
|
09 Nov 2013, Razvan Stefan Gornea, Forum, Installation problem
|
10 Nov 2013, Stefan Ritt, Forum, Installation problem
|
11 Nov 2013, Konstantin Olchanski, Forum, Installation problem
|
11 Nov 2013, Konstantin Olchanski, Forum, Installation problem
|
13 Nov 2013, Konstantin Olchanski, Forum, Installation problem
|
13 Nov 2013, Stefan Ritt, Forum, Installation problem
|
14 Nov 2013, Razvan Stefan Gornea, Forum, Installation problem
|
14 Nov 2013, Konstantin Olchanski, Forum, Installation problem
|
12 Nov 2013, Stefan Ritt, Forum, Installation problem
|
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 |