[patch] Issues compiling Makeobj with MSVC January 03, 2009, 05:43:00 pm Msvc treats a .c file as a C source (why not) and forbids declarations in any place. Why it works elsewhere escapes me.This patch moves some declarations upwards so that the code compiles. Quote Selected
Re: [patch] Issues compiling Makeobj with MSVC Reply #1 – January 03, 2009, 07:36:20 pm MSVC failed to compile a working executable of makeobj until 6.0. Later version were never tested. I will look into it. Quote Selected
Re: [patch] Issues compiling Makeobj with MSVC Reply #2 – January 03, 2009, 08:12:18 pm Well, I tested it with the project files uploaded (newly) to the stickied thread. It compiles, links, and works. Didn't test the pak-files, though...Only 1 declaration of variable is in the middle of block and must be moved to beginning. That is the patch. Quote Selected
Re: [patch] Issues compiling Makeobj with MSVC Reply #3 – January 03, 2009, 08:30:10 pm Thank you for fixing this one! Quote Selected