Windows version messed up in lcms.h and color-profile.cpp
Even after a clean build, I get these errors (rev 10983, Windows XP):
Make error line 289: problem compiling: In file included from src/color-profile.cpp:30:0: c:\devlibs/include/lcms.h:196:0: warning: "ZeroMemory" redefined [enabled by default] c:\mingw\bin../lib/gcc/mingw32/4.6.1/../../../../include/winbase.h:1348:0: note: this is the location of the previous definition c:\devlibs/include/lcms.h:197:0: warning: "CopyMemory" redefined [enabled by default] c:\mingw\bin../lib/gcc/mingw32/4.6.1/../../../../include/winbase.h:1346:0: note: this is the location of the previous definition c:\devlibs/include/lcms.h:212:0: warning: "LOWORD" redefined [enabled by default] c:\mingw\bin../lib/gcc/mingw32/4.6.1/../../../../include/windef.h:131:0: note: this is the location of the previous definition c:\devlibs/include/lcms.h:213:0: warning: "HIWORD" redefined [enabled by default] c:\mingw\bin../lib/gcc/mingw32/4.6.1/../../../../include/windef.h:132:0: note: this is the location of the previous definition In file included from src/color-profile.cpp:30:0: c:\devlibs/include/lcms.h: In function 'void* _cmsMalloc(size_t)': c:\devlibs/include/lcms.h:1410:16: warning: comparison of unsigned expression < 0 is always false [-Wtype-limits] src/color-profile.cpp: In static member function 'static std::vectorGlib::ustring Inkscape::ColorProfile::getBaseProfileDirs()': src/color-profile.cpp:824:55: error: invalid conversion from 'cmsUInt32Number* {aka unsigned int*}' to 'PDWORD {aka long unsigned int*}' [-fpermissive] c:\mingw\bin../lib/gcc/mingw32/4.6.1/../../../../include/icm.h:319:13: error: initializing argument 3 of 'BOOL GetColorDirectoryW(PCWSTR, PWSTR, PDWORD)' [-fpermissive]
Regards. Luca
-- View this message in context: http://inkscape.13.n6.nabble.com/Windows-version-messed-up-in-lcms-h-and-col... Sent from the Inkscape - Dev mailing list archive at Nabble.com.
Hmm I think I only partly committed my fix. Does it build now after 10985 ?
Cheers, Johan
On 15-2-2012 17:27, LucaDC wrote:
Even after a clean build, I get these errors (rev 10983, Windows XP):
Make error line 289: problem compiling: In file included from src/color-profile.cpp:30:0: c:\devlibs/include/lcms.h:196:0: warning: "ZeroMemory" redefined [enabled by default] c:\mingw\bin../lib/gcc/mingw32/4.6.1/../../../../include/winbase.h:1348:0: note: this is the location of the previous definition c:\devlibs/include/lcms.h:197:0: warning: "CopyMemory" redefined [enabled by default] c:\mingw\bin../lib/gcc/mingw32/4.6.1/../../../../include/winbase.h:1346:0: note: this is the location of the previous definition c:\devlibs/include/lcms.h:212:0: warning: "LOWORD" redefined [enabled by default] c:\mingw\bin../lib/gcc/mingw32/4.6.1/../../../../include/windef.h:131:0: note: this is the location of the previous definition c:\devlibs/include/lcms.h:213:0: warning: "HIWORD" redefined [enabled by default] c:\mingw\bin../lib/gcc/mingw32/4.6.1/../../../../include/windef.h:132:0: note: this is the location of the previous definition In file included from src/color-profile.cpp:30:0: c:\devlibs/include/lcms.h: In function 'void* _cmsMalloc(size_t)': c:\devlibs/include/lcms.h:1410:16: warning: comparison of unsigned expression< 0 is always false [-Wtype-limits] src/color-profile.cpp: In static member function 'static std::vectorGlib::ustring Inkscape::ColorProfile::getBaseProfileDirs()': src/color-profile.cpp:824:55: error: invalid conversion from 'cmsUInt32Number* {aka unsigned int*}' to 'PDWORD {aka long unsigned int*}' [-fpermissive] c:\mingw\bin../lib/gcc/mingw32/4.6.1/../../../../include/icm.h:319:13: error: initializing argument 3 of 'BOOL GetColorDirectoryW(PCWSTR, PWSTR, PDWORD)' [-fpermissive]
Regards. Luca
-- View this message in context: http://inkscape.13.n6.nabble.com/Windows-version-messed-up-in-lcms-h-and-col... Sent from the Inkscape - Dev mailing list archive at Nabble.com.
Virtualization& Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ _______________________________________________ Inkscape-devel mailing list Inkscape-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-devel
Inkscape builds here without an issue now on windows. Thanks Johan.
Regards K.
2012/2/15 Johan Engelen <jbc.engelen@...2592...>:
Hmm I think I only partly committed my fix. Does it build now after 10985 ?
Cheers, Johan
On 15-2-2012 17:27, LucaDC wrote:
Even after a clean build, I get these errors (rev 10983, Windows XP):
Make error line 289: problem compiling: In file included from src/color-profile.cpp:30:0: c:\devlibs/include/lcms.h:196:0: warning: "ZeroMemory" redefined [enabled by default] c:\mingw\bin../lib/gcc/mingw32/4.6.1/../../../../include/winbase.h:1348:0: note: this is the location of the previous definition c:\devlibs/include/lcms.h:197:0: warning: "CopyMemory" redefined [enabled by default] c:\mingw\bin../lib/gcc/mingw32/4.6.1/../../../../include/winbase.h:1346:0: note: this is the location of the previous definition c:\devlibs/include/lcms.h:212:0: warning: "LOWORD" redefined [enabled by default] c:\mingw\bin../lib/gcc/mingw32/4.6.1/../../../../include/windef.h:131:0: note: this is the location of the previous definition c:\devlibs/include/lcms.h:213:0: warning: "HIWORD" redefined [enabled by default] c:\mingw\bin../lib/gcc/mingw32/4.6.1/../../../../include/windef.h:132:0: note: this is the location of the previous definition In file included from src/color-profile.cpp:30:0: c:\devlibs/include/lcms.h: In function 'void* _cmsMalloc(size_t)': c:\devlibs/include/lcms.h:1410:16: warning: comparison of unsigned expression< 0 is always false [-Wtype-limits] src/color-profile.cpp: In static member function 'static std::vectorGlib::ustring Inkscape::ColorProfile::getBaseProfileDirs()': src/color-profile.cpp:824:55: error: invalid conversion from 'cmsUInt32Number* {aka unsigned int*}' to 'PDWORD {aka long unsigned int*}' [-fpermissive] c:\mingw\bin../lib/gcc/mingw32/4.6.1/../../../../include/icm.h:319:13: error: initializing argument 3 of 'BOOL GetColorDirectoryW(PCWSTR, PWSTR, PDWORD)' [-fpermissive]
Regards. Luca
-- View this message in context: http://inkscape.13.n6.nabble.com/Windows-version-messed-up-in-lcms-h-and-col... Sent from the Inkscape - Dev mailing list archive at Nabble.com.
Virtualization& Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ _______________________________________________ Inkscape-devel mailing list Inkscape-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-devel
Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ _______________________________________________ Inkscape-devel mailing list Inkscape-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-devel
Yes, r10985 builds indeed. But r10986 does not. This is the error I get:
src/extension/print.cpp:10: c:\devlibs/include/sigc++-2.0/sigc++/signal_base.h:48:11: error: 'size_t' does not name a type c:\devlibs/include/sigc++-2.0/sigc++/signal_base.h:97:3: error: 'size_type' does not name a type c:\devlibs/include/sigc++-2.0/sigc++/signal_base.h:241:11: error: 'size_t' does not name a type c:\devlibs/include/sigc++-2.0/sigc++/signal_base.h:263:3: error: 'size_type' does not name a type In file included from src/extension/implementation/implementation.h:16:0, from src/extension/print.cpp:10: c:\devlibs/include/sigc++-2.0/sigc++/signal.h:33:11: error: 'size_t' does not name a type c:\devlibs/include/sigc++-2.0/sigc++/signal.h:34:11: error: 'ptrdiff_t' does not name a type c:\devlibs/include/sigc++-2.0/sigc++/signal.h:99:11: error: 'size_t' does not name a type c:\devlibs/include/sigc++-2.0/sigc++/signal.h:100:11: error: 'ptrdiff_t' does not name a type c:\devlibs/include/sigc++-2.0/sigc++/signal.h:276:11: error: 'size_t' does not name a type c:\devlibs/include/sigc++-2.0/sigc++/signal.h:277:11: error: 'ptrdiff_t' does not name a type c:\devlibs/include/sigc++-2.0/sigc++/signal.h:359:11: error: 'size_t' does not name a type c:\devlibs/include/sigc++-2.0/sigc++/signal.h:360:11: error: 'ptrdiff_t' does not name a type c:\devlibs/include/sigc++-2.0/sigc++/signal.h:430:11: error: 'size_t' does not name a type c:\devlibs/include/sigc++-2.0/sigc++/signal.h:431:11: error: 'ptrdiff_t' does not name a type c:\devlibs/include/sigc++-2.0/sigc++/signal.h:515:11: error: 'size_t' does not name a type c:\devlibs/include/sigc++-2.0/sigc++/signal.h:516:11: error: 'ptrdiff_t' does not name a type
The problem is still present in r10990. Is there a way to rename the topic? I should have opened a generic "Windows compilation broken", as this seems to happen so frequently these days... :) Regards Luca
-- View this message in context: http://inkscape.13.n6.nabble.com/Windows-version-messed-up-in-lcms-h-and-col... Sent from the Inkscape - Dev mailing list archive at Nabble.com.
Sorry, already reported and in a fresh new "generic" topic "Windows build issues". Thanks Kris for anticipating my thoughts. I'd better bookmark it... :) Luca
-- View this message in context: http://inkscape.13.n6.nabble.com/Windows-version-messed-up-in-lcms-h-and-col... Sent from the Inkscape - Dev mailing list archive at Nabble.com.
participants (4)
-
Johan Engelen
-
Jon Cruz
-
Kris De Gussem
-
LucaDC