I think i have found a solution to the const definition problem in a
header file we had previously.
In the header file you could define something like:
private:
// WGS84 numbers
static const double EQURAD; // equatorial radius
static const double STRETCH; // equ./polar radius
and in the cpp/cxx file you can fefine the following then:
#include "Math.hpp"
#include "Glue.hpp"
// WGS84 numbers
const double Glue::EQURAD = 6378137;
const double Glue::STRETCH = 1.003352810665;
Erik
_______________________________________________
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel