From 27fa4199a27db67909887170a08927eade42e465 Mon Sep 17 00:00:00 2001 From: Eduard Braun Date: Tue, 10 Oct 2017 22:03:40 +0200 Subject: Cleanup: remove unused winmain.cpp While we were diligently compiling and maintaining it, the WinMain entry point was completely unused for quite some time now (if it was ever used). gcc is perfectly happy with the standard main() entry point and even MSVC should be able to work with alternative entry point names (if anybody was bold enough to actually compile Inkscape that way) Note regarding code for output redirection: The code that was introduced in 378a6384e55bdb8c5750c051fd91302f64d2b69a in order to achieve console output from inkscape.exe (see comment in winconsole.cpp why this does not work by default) works in principle, but has a number of issues - it immediately exits (control is returned to the console) rendering it unsuitable (or even harmful) for script usage - despite returning control to the console Inkscape continues to print messages to it messing up any other output - standard input (stdin) is not working at all The solution of using console wrappers from b8859cd12327c84f5ca8d4bf8614f0d0913d3c25 is therefore still the preferable solution, see also https://bugs.launchpad.net/inkscape/+bug/520532 for details. --- src/CMakeLists.txt | 1 - 1 file changed, 1 deletion(-) (limited to 'src/CMakeLists.txt') diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 4b3357d30..09d6d25d4 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -481,7 +481,6 @@ if(WIN32) list(APPEND main_SRC registrytool.h registrytool.cpp - winmain.cpp ) # Configure and add the platform specific resource files (enabling the app icon). -- cgit v1.2.3