[rrd-developers] Compile rrdtool-1.4.8 in Visual Studio 2013
Tobias Oetiker
tobi at oetiker.ch
Sun Jul 13 20:26:14 CEST 2014
Hi Peter,
Today Peter wrote:
> Hi Tobi,
> now it is not possible to compile master with Visual Studio 2013 C++.
> There are incompatibilities
> http://en.wikipedia.org/wiki/Compatibility_of_C_and_C%2B%2B ie: many
> explicit casts needed, keyword template not allowed, ...
>
> And set up the project to Standard C lead to other errors
> Error 1 error C2065: 'tzname' : undeclared identifier
> c:\dev\rrdtool-1.x\src\strftime.c 248 1 rrdlib
> and also in windows files:
> Error 8 error C2008: '$' : unexpected in macro definition C:\Program Files
> (x86)\Microsoft SDKs\Windows\v7.0A\include\driverspecs.h 142 1 rrdlib
I can't give you much windows advice since I don't usually server
stuff on windws ... but googling shows that maybe a
#define tzname _tzname
is all that is needed
cheers
tobi
> But Branch 1.4 I can compile with the small modifications.
>
> Peter
>
>
>
> --
> View this message in context: http://rrd-mailinglists.937164.n2.nabble.com/Compile-rrdtool-1-4-8-in-Visual-Studio-2013-tp7582052p7582310.html
> Sent from the RRDtool Developers Mailinglist mailing list archive at Nabble.com.
>
> _______________________________________________
> rrd-developers mailing list
> rrd-developers at lists.oetiker.ch
> https://lists.oetiker.ch/cgi-bin/listinfo/rrd-developers
>
>
--
Tobi Oetiker, OETIKER+PARTNER AG, Aarweg 15 CH-4600 Olten, Switzerland
www.oetiker.ch tobi at oetiker.ch +41 62 775 9902
More information about the rrd-developers
mailing list