I'm using gpstk as a library in an MSVS 2010 project. This project includes the notorious rpcndr.h which has this line:

#define small char

Unfortunately, MatrixOperators.hpp uses the variable "small" extensively and so my project wouldn't build. I solved this issue by adding to the top of MatrixOperators.hpp:

#ifdef small #undef small #endif

-- MichaelKarasoff - 19 Jun 2013


ALERT! If you answer a question - or have a question you asked answered by someone - please remember to edit the page and set the status to answered. The status is in a drop-down list below the edit box.


Sorry for the delay in responding to your post. You are correct in assuming rpcndr.h is problematic and should be removed from the toolkit. Thank you for bringing this to our attention. We will add this line of code to offset the issue, and look into deprecating the use of rpcndr.h.

Thank you for your contribution to the GPSTk.

-- BryanParsons - 28 Jun 2013 No such template def TMPL:DEF{PROMPT:supportquery}

Topic revision: r2 - 28 Jun 2013, BryanParsons

This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding Foswiki? Send feedback