From 1a67309f661a516a62704347b0dd9260e08308a2 Mon Sep 17 00:00:00 2001 From: unknown Date: Mon, 14 Sep 2015 16:03:23 -0400 Subject: [PATCH] got the command-line build of PJ64 to link and run --- Source/Project64/main.cpp | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/Source/Project64/main.cpp b/Source/Project64/main.cpp index 60cb62acc..d93626246 100644 --- a/Source/Project64/main.cpp +++ b/Source/Project64/main.cpp @@ -181,13 +181,16 @@ const char * AppName ( void ) #ifndef WINDOWS_UI int main(int argc, char* argv[]) { -#error Cross-platform [graphical?] interface has not yet been implemented. -// Remove this #error to compile, but linking will fail with about 10 errors. - while (argc >= 0) { puts(argv[--argc]); } + putchar('\n'); + + fprintf( + stderr, + "Cross-platform (graphical/terminal?) UI not yet implemented.\n" + ); return 0; } #else