Author Topic: Bug 13.0.2: Compilation of visualstudio file broken.  (Read 3164 times)

lambertia

  • Senior Community Member
  • Posts: 382
  • Hero Points: 14
  • I have nothing sufficiently witty to say.
Bug 13.0.2: Compilation of visualstudio file broken.
« on: August 27, 2008, 02:48:14 am »
Hi All.

On line 4454 of compile.e the following line has been commented out:

   //TempLine=makeCommandCLSafe(TempLine);  // don't need this here

It actually is needed  ;)

Cheers,
--
Greg.

Lee

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 1299
  • Hero Points: 130
Re: Bug 13.0.2: Compilation of visualstudio file broken.
« Reply #1 on: August 27, 2008, 01:04:11 pm »
Thanks for the report.  What was the command that failed?  There are cases where makeCommandCLSafe is doing too much and actually generates an incorrect command-line, I need to make sure I catch the cases that do need it.

lambertia

  • Senior Community Member
  • Posts: 382
  • Hero Points: 14
  • I have nothing sufficiently witty to say.
Re: Bug 13.0.2: Compilation of visualstudio file broken.
« Reply #2 on: August 27, 2008, 10:30:59 pm »
Hi!

Here is the command:

Code: [Select]
C:\Data\Projects\windows.sna.Private_GBarron_SNA_v2_3_0_3\sna>"C:\Program Files\SlickEdit 2008\win\vsbuild" -signal 9009 -command "C:\Program Files\Microsoft Visual C++ Toolkit 2003\bin\cl" @C:\Users\GBARRO~1.DAI\AppData\Local\Temp\3644001b25  "PacketListPage.cpp"
VSLICKERRORPATH="C:\Data\Projects\windows.sna.Private_GBarron_SNA_v2_3_0_3\sna"
"C:\Program Files\Microsoft Visual C++ Toolkit 2003\bin\cl" @C:\Users\GBARRO~1.DAI\AppData\Local\Temp\3644001b25 PacketListPage.cpp
Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 13.10.3077 for 80x86
Copyright (C) Microsoft Corporation 1984-2002. All rights reserved.

cl  /Od /W3 /ZI "/DWIN32" "/D_DEBUG" "/D_WINDOWS" "/D_WIN32_WINNT=0x0500" "/DWINVER=0x0500" "/DNOMINMAX" /D_MBCS /EHsc /FD /RTC1 /MDd /D "_AFXDLL" /GR /Yu"stdafx.h" /Fp".\Debug/Sna.pch" /Fd".\Debug/" /Fo".\Debug/" /FR".\Debug\" @"../dthdrs/compile_options_debug.txt" @"../dthdrs/compile_options_common.txt"  /I "..\dtnwk" /I "Device Manager" /I "..\dtlib" /I "..\dtlib\cximagelib\cximage" /I "..\dthdrs" /I "..\dtlicensing" /I "..\dtdevice" /I "..\packetdecoder" /I "..\dtmacapi" /I "..\dtxml" /I "..\dtgde" /I "..\dtgui" /I "..\dtactivedevice" /I "..\dtlib\dtpacket" /I "Docs" /c

cl : Command line warning D4024 : unrecognized source file type 'Manager /I ..\dtlib /I ..\dtlib\cximagelib\cximage /I ..\dthdrs /I ..\dtlicensing /I ..\dtdevice /I ..\packetdecoder /I ..\dtmacapi /I ..\dtxml /I ..\dtgde /I ..\dtgui /I ..\dtactivedevice /I ..\dtlib\dtpacket /I Docs /c ', object file assumed
PacketListPage.cpp
c:\Data\Projects\windows.sna.Private_GBarron_SNA_v2_3_0_3\sna\PacketListPage.cpp(151) : warning C4653: compiler option 'Optimizations (one or more of /Oawstgp[y]) or debug checks (one or more of /GZ, /RTCcsu)' inconsistent with precompiled header; current command-line option ignored
c:\Data\Projects\windows.sna.Private_GBarron_SNA_v2_3_0_3\sna\PacketListPage.cpp(151) : fatal error C1083: Cannot open compiler generated file: '.\Debug" @../dthdrs/compile_options_debug.txt @../dthdrs/compile_options_common.txt  /I ..\dtnwk /I Device.sbr': Invalid argument

C:\Data\Projects\windows.sna.Private_GBarron_SNA_v2_3_0_3\sna>

The problem is that the /FR".\Debug\" argument has the last slash the wrong way around.

Cheers,
--
Greg.