Hello everybody. Happy new year ! I program objects for Dia with Visual Studio 6.0. There are many Warnings witch do not prevent me from compiling, but (although I think it is not useful to correct them) it may interest you if you have to change these files one day.
/* base property stuff ... */ static PropNumData width_range = { -G_MAXFLOAT, G_MAXFLOAT, 0.1}; ...
#ifdef G_OS_WIN32 static PropNumData prop_std_line_width_data = { 0.0, 10.0, 0.01 }; static PropNumData prop_std_text_height_data = { 0.1, 10.0, 0.1 }; ...
/* * We are linking libxml as DLL with either msvc or mingw, but this * gets only defined form libxml for (_MSC_VER) */ #define LIBXML_DLL_IMPORT __declspec(dllimport) ... For this one, my includes are : #ifdef HAVE_CONFIG_H #include <config.h> #endif #include <assert.h> #include <math.h> #include <string.h> #include "intl.h" #include "object.h" #include "element.h" #include "connectionpoint.h" #include "diarenderer.h" #include "attributes.h" #include "widgets.h" #include "message.h" #include "properties.h" --------------------------------------------------------------------------------- Of course, I think I can find other ones in the future. If you want me to bring them to you, tell me. Have a nice day. Jonathan Chaboissier |