[rrd-developers] Warnings at compile time

Alex van den Bogaerdt alex at ergens.op.HET.NET
Sun Mar 31 23:30:24 MEST 2002

Hi everybody,

When building rrdtool I get a lot of warnings.  I've tracked most
of them:

- Three warnings in cgilib have to do with missing and/or incorrect
  function prototypes; I already contacted the author to see if this
  can be solved without causing problems elsewhere
- A zillion warnings are a result of global variables y0,y1 and gamma
  defined while including <math.h> (which includes <bits/mathcalls.h>)
- Not yet tracked: global variable index; reported in freetype
- several missing prototypes in various places

In my opinion shadowed variables can result in hard-to-debug problems
so it is my believe that we should keep the warnings for them (and of
course change the variables); I'm interested to know what others think.

In any case I think we should lessen the amount of warnings because
currently it is hard to spot real problems inbetween the huge amount
of harmless ones.

 / alex at slot.hollandcasino.nl                  alex at ergens.op.het.net \
| work                                                         private |
| My employer is capable of speaking therefore I speak only for myself |
| Technical questions sent directly to me will be nuked. Use the list. | 
| http://faq.mrtg.org/                                                 |
| http://rrdtool.eu.org  --> tutorial                                  |

Unsubscribe mailto:rrd-developers-request at list.ee.ethz.ch?subject=unsubscribe
Help        mailto:rrd-developers-request at list.ee.ethz.ch?subject=help
Archive     http://www.ee.ethz.ch/~slist/rrd-developers
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi

More information about the rrd-developers mailing list