Changeset 63823 in webkit


Ignore:
Timestamp:
Jul 21, 2010 8:53:08 AM (14 years ago)
Author:
Adam Roben
Message:

Fix compiler warnings when building MiniBrowser

Also cleaned up the .vcproj a bit.

Fixes <http://webkit.org/b/42743>.

Reviewed by Darin Adler.

  • MiniBrowser/MiniBrowser.vcproj: Removed all settings that are

already defined in .vsprops files. This also fixes a warning about
/EDITANDCONTINUE being incompatible with /SAFESEH.

  • MiniBrowser/win/MiniBrowser.rc: Replaced afxres.h with winresrc.h so

that we stop getting warnings about ID_FILE_OPEN and ID_FILE_CLOSE
being redefined. (I think this will also get us closer to building
with VC++ Express.)

Location:
trunk/WebKitTools
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebKitTools/ChangeLog

    r63797 r63823  
     12010-07-21  Adam Roben  <aroben@apple.com>
     2
     3        Fix compiler warnings when building MiniBrowser
     4
     5        Also cleaned up the .vcproj a bit.
     6
     7        Fixes <http://webkit.org/b/42743>.
     8
     9        Reviewed by Darin Adler.
     10
     11        * MiniBrowser/MiniBrowser.vcproj: Removed all settings that are
     12        already defined in .vsprops files. This also fixes a warning about
     13        /EDITANDCONTINUE being incompatible with /SAFESEH.
     14
     15        * MiniBrowser/win/MiniBrowser.rc: Replaced afxres.h with winresrc.h so
     16        that we stop getting warnings about ID_FILE_OPEN and ID_FILE_CLOSE
     17        being redefined. (I think this will also get us closer to building
     18        with VC++ Express.)
     19
    1202010-07-20  Sam Weinig  <sam@webkit.org>
    221
  • trunk/WebKitTools/MiniBrowser/MiniBrowser.vcproj

    r63790 r63823  
    4343                        <Tool
    4444                                Name="VCCLCompilerTool"
    45                                 Optimization="0"
    4645                                AdditionalIncludeDirectories="&quot;$(WebKitLibrariesDir)\Include&quot;;&quot;$(WebKitOutputDir)\Include&quot;"
    47                                 PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS"
    48                                 MinimalRebuild="true"
    49                                 BasicRuntimeChecks="3"
    50                                 RuntimeLibrary="3"
    5146                                UsePrecompiledHeader="2"
    52                                 WarningLevel="3"
    53                                 WarnAsError="true"
    54                                 Detect64BitPortabilityProblems="false"
    55                                 DebugInformationFormat="4"
    5647                        />
    5748                        <Tool
     
    6051                        <Tool
    6152                                Name="VCResourceCompilerTool"
    62                                 AdditionalIncludeDirectories="&quot;$(IntDir)\include&quot;;..\..\Internal\Safari\win\WTL80\include"
     53                                AdditionalIncludeDirectories=""
    6354                        />
    6455                        <Tool
     
    6859                                Name="VCLinkerTool"
    6960                                AdditionalDependencies="shlwapi.lib WebKit$(WebKitDLLConfigSuffix).lib CoreFoundation$(LibraryConfigSuffix).lib CFNetwork$(LibraryConfigSuffix).lib"
    70                                 LinkIncremental="2"
    71                                 GenerateDebugInformation="true"
    72                                 SubSystem="2"
    73                                 TargetMachine="1"
    7461                        />
    7562                        <Tool
     
    130117                                Name="VCCLCompilerTool"
    131118                                AdditionalIncludeDirectories="&quot;$(WebKitLibrariesDir)\Include&quot;;&quot;$(WebKitOutputDir)\Include&quot;"
    132                                 PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS"
    133                                 RuntimeLibrary="2"
    134119                                UsePrecompiledHeader="2"
    135                                 WarningLevel="3"
    136                                 WarnAsError="true"
    137                                 Detect64BitPortabilityProblems="false"
    138                                 DebugInformationFormat="3"
    139120                        />
    140121                        <Tool
     
    143124                        <Tool
    144125                                Name="VCResourceCompilerTool"
    145                                 AdditionalIncludeDirectories="&quot;$(IntDir)\include&quot;;..\Safari\win\WTL80\include"
     126                                AdditionalIncludeDirectories=""
    146127                        />
    147128                        <Tool
     
    151132                                Name="VCLinkerTool"
    152133                                AdditionalDependencies="shlwapi.lib WebKit$(WebKitDLLConfigSuffix).lib CoreFoundation$(LibraryConfigSuffix).lib CFNetwork$(LibraryConfigSuffix).lib"
    153                                 LinkIncremental="1"
    154                                 GenerateDebugInformation="true"
    155                                 SubSystem="2"
    156                                 OptimizeReferences="2"
    157                                 EnableCOMDATFolding="2"
    158                                 TargetMachine="1"
    159134                        />
    160135                        <Tool
  • trunk/WebKitTools/MiniBrowser/win/MiniBrowser.rc

    r58701 r63823  
    22//
    33#include "resource.h"
    4 
    5 #define APSTUDIO_READONLY_SYMBOLS
    6 /////////////////////////////////////////////////////////////////////////////
    7 //
    8 // Generated from the TEXTINCLUDE 2 resource.
    9 //
    10 #include "afxres.h"
    11 
    12 /////////////////////////////////////////////////////////////////////////////
    13 #undef APSTUDIO_READONLY_SYMBOLS
     4#include "winresrc.h"
    145
    156/////////////////////////////////////////////////////////////////////////////
Note: See TracChangeset for help on using the changeset viewer.