[OSM-dev] osm2pgsql
Artem Pavlenko
artem.mapnik at googlemail.com
Wed Jan 2 22:18:00 GMT 2008
Hello,
Recently, while porting osm2pgsql to win32 platform (native compiler
vc_80) I came across constructs like:
struct fun
{
int id;
char const* name;
};
struct fun f =
{
name: "not portable",
id:123
};
I believe the above is an *obsolete* syntax from ancient GCC ( <
3 ?? ), but maybe I'm missing something. C99 supports .name notation
for struct members initialization but latest MS compiler doesn't
care about C99 (what a surprise:)
Should we be striving to make osm2pgsql source platform independent
in main OSM svn?
Cheers
Artem
More information about the dev
mailing list