eth4io / libkml

Automatically exported from code.google.com/p/libkml
Other
0 stars 0 forks source link

src/kml/util.h conflicts with other stdint.h replacements when building with Visual Studio #153

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. #include kml/dom.h from libkml-1.2.0 and unicode/pwin32.h from icu-1.8.1
2. Hit Build

What is the expected output?
Code builds without errors.

What do you see instead?
...\unicode\pwin32.h(127) : error C2371: 'int8_t' : redefinition; different 
basic types

I included .diff file that fixes the problem by letting the user #define 
LIBKML_INTTYPES_PASSTHROUGH if they have their own stdint.h replacement.

Original issue reported on code.google.com by aleksey....@gmail.com on 12 Jul 2010 at 4:19

Attachments:

GoogleCodeExporter commented 8 years ago
I shall try to fix this.

Original comment by fwarmerdam@gmail.com on 30 Jan 2013 at 11:20

GoogleCodeExporter commented 8 years ago
I supose this issue is related (or is the same) to Issue 178
http://code.google.com/p/libkml/issues/detail?id=178

Original comment by gsta...@gmail.com on 9 Jan 2014 at 6:07