Hi guys, the previous error is fixed tx!
Now the automated build is failing with: C:/OpenStack/FreeRDP/winpr/include\winpr/synch.h(276): error C2373: 'InitializeCriticalSectionEx' : redefinition; different type modifiers [C:\OpenStack\FreeRDP\libfreerdp\cache\freerdp-cache.vcxproj] By looking at the code, that function is defined twice in the same header with the same signature: https://github.com/FreeRDP/FreeRDP/blob/master/winpr/include/winpr/synch.h#L167 And: https://github.com/FreeRDP/FreeRDP/blob/master/winpr/include/winpr/synch.h#L276 This is the commit where the latter has been introduced: https://github.com/FreeRDP/FreeRDP/commit/0c17eb1a231e9d2c76655d326699040464af21d6 Should we remove the first definition? Thanks, Alessandro On Sep 18, 2013, at 12:45 , Alessandro Pilotti <apilo...@cloudbasesolutions.com<mailto:apilo...@cloudbasesolutions.com>> wrote: Since 2 days the WIndows build is broken (based on our nightly build), see the following log. I started patching it by adding: #ifdef _WIN32 #include <ntstatus.h> #include <Winternl.h> #endif But although this fixes drive_file.c, afterwards I get more errors in drive_main.c, printer_main.c etc, so I guess there's must be a common include that needs to be reverted / fixed. Any clue about this? I took a look at the commit history, but I still have to find where this started. Thanks, Alessandro "C:\OpenStack\FreeRDP\FreeRDP.sln" (default target) (1) -> "C:\OpenStack\FreeRDP\ALL_BUILD.vcxproj.metaproj" (default target) (2) -> "C:\OpenStack\FreeRDP\channels\drive\client\drive-client.vcxproj.metaproj" (default target) (54) -> "C:\OpenStack\FreeRDP\channels\drive\client\drive-client.vcxproj" (default target) (55) -> (ClCompile target) -> drive_file.c(202): error C2065: 'FILE_DIRECTORY_FILE' : undeclared identifier [C:\OpenStack\FreeRDP\channels\drive\client\drive-client.vcxproj] drive_file.c(253): error C2065: 'FILE_DELETE_ON_CLOSE' : undeclared identifier [C:\OpenStack\FreeRDP\channels\drive\client\drive-client.vcxproj] drive_main.c(77): error C2065: 'STATUS_ACCESS_DENIED' : undeclared identifier [C:\OpenStack\FreeRDP\channels\drive\client\drive-client.vcxproj] drive_main.c(80): error C2065: 'STATUS_NO_SUCH_FILE' : undeclared identifier [C:\OpenStack\FreeRDP\channels\drive\client\drive-client.vcxproj] drive_main.c(83): error C2065: 'STATUS_DEVICE_BUSY' : undeclared identifier [C:\OpenStack\FreeRDP\channels\drive\client\drive-client.vcxproj] drive_main.c(86): error C2065: 'STATUS_OBJECT_NAME_COLLISION' : undeclared identifier [C:\OpenStack\FreeRDP\channels\drive\client\drive-client.vcxproj] drive_main.c(89): error C2065: 'STATUS_FILE_IS_A_DIRECTORY' : undeclared identifier [C:\OpenStack\FreeRDP\channels\drive\client\drive-client.vcxproj] drive_main.c(93): error C2065: 'STATUS_UNSUCCESSFUL' : undeclared identifier [C:\OpenStack\FreeRDP\channels\drive\client\drive-client.vcxproj] drive_main.c(149): error C2065: 'STATUS_UNSUCCESSFUL' : undeclared identifier [C:\OpenStack\FreeRDP\channels\drive\client\drive-client.vcxproj] drive_main.c(174): error C2065: 'FILE_SUPERSEDED' : undeclared identifier [C:\OpenStack\FreeRDP\channels\drive\client\drive-client.vcxproj] drive_main.c(205): error C2065: 'STATUS_UNSUCCESSFUL' : undeclared identifier [C:\OpenStack\FreeRDP\channels\drive\client\drive-client.vcxproj] drive_main.c(236): error C2065: 'STATUS_UNSUCCESSFUL' : undeclared identifier [C:\OpenStack\FreeRDP\channels\drive\client\drive-client.vcxproj] drive_main.c(243): error C2065: 'STATUS_UNSUCCESSFUL' : undeclared identifier [C:\OpenStack\FreeRDP\channels\drive\client\drive-client.vcxproj] drive_main.c(253): error C2065: 'STATUS_UNSUCCESSFUL' : undeclared identifier [C:\OpenStack\FreeRDP\channels\drive\client\drive-client.vcxproj] drive_main.c(293): error C2065: 'STATUS_UNSUCCESSFUL' : undeclared identifier [C:\OpenStack\FreeRDP\channels\drive\client\drive-client.vcxproj] drive_main.c(300): error C2065: 'STATUS_UNSUCCESSFUL' : undeclared identifier [C:\OpenStack\FreeRDP\channels\drive\client\drive-client.vcxproj] drive_main.c(307): error C2065: 'STATUS_UNSUCCESSFUL' : undeclared identifier [C:\OpenStack\FreeRDP\channels\drive\client\drive-client.vcxproj] drive_main.c(334): error C2065: 'STATUS_UNSUCCESSFUL' : undeclared identifier [C:\OpenStack\FreeRDP\channels\drive\client\drive-client.vcxproj] drive_main.c(340): error C2065: 'STATUS_UNSUCCESSFUL' : undeclared identifier [C:\OpenStack\FreeRDP\channels\drive\client\drive-client.vcxproj] drive_main.c(366): error C2065: 'STATUS_UNSUCCESSFUL' : undeclared identifier [C:\OpenStack\FreeRDP\channels\drive\client\drive-client.vcxproj] drive_main.c(372): error C2065: 'STATUS_UNSUCCESSFUL' : undeclared identifier [C:\OpenStack\FreeRDP\channels\drive\client\drive-client.vcxproj] drive_main.c(471): error C2065: 'STATUS_UNSUCCESSFUL' : undeclared identifier [C:\OpenStack\FreeRDP\channels\drive\client\drive-client.vcxproj] drive_main.c(519): error C2065: 'STATUS_UNSUCCESSFUL' : undeclared identifier [C:\OpenStack\FreeRDP\channels\drive\client\drive-client.vcxproj] drive_main.c(525): error C2065: 'STATUS_NO_MORE_FILES' : undeclared identifier [C:\OpenStack\FreeRDP\channels\drive\client\drive-client.vcxproj] drive_main.c(547): error C2065: 'STATUS_NOT_SUPPORTED' : undeclared identifier [C:\OpenStack\FreeRDP\channels\drive\client\drive-client.vcxproj] drive_main.c(562): error C2065: 'STATUS_SUCCESS' : undeclared identifier [C:\OpenStack\FreeRDP\channels\drive\client\drive-client.vcxproj] drive_main.c(609): error C2065: 'STATUS_NOT_SUPPORTED' : undeclared identifier [C:\OpenStack\FreeRDP\channels\drive\client\drive-client.vcxproj] ------------------------------------------------------------------------------ LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99! 1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint 2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13. http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk _______________________________________________ Freerdp-devel mailing list Freerdp-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freerdp-devel ------------------------------------------------------------------------------ October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg.clktrk _______________________________________________ Freerdp-devel mailing list Freerdp-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freerdp-devel