Changeset 71155 in webkit


Ignore:
Timestamp:
Nov 2, 2010 12:52:09 PM (13 years ago)
Author:
Adam Roben
Message:

Windows build fix after r71127

MSVC isn't smart enough to figure out that the definition of the global
nullptr variable isn't needed, so we provide one for it.

Fixes <http://webkit.org/b/48862> Windows build is broken due to
undefined symbol nullptr

Reviewed by Anders Carlsson.

  • JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.def: Export nullptr.

resort the files.

  • wtf/NullPtr.cpp: Added.
Location:
trunk/JavaScriptCore
Files:
1 added
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/ChangeLog

    r71148 r71155  
     12010-11-02  Adam Roben  <aroben@apple.com>
     2
     3        Windows build fix after r71127
     4
     5        MSVC isn't smart enough to figure out that the definition of the global
     6        nullptr variable isn't needed, so we provide one for it.
     7
     8        Fixes <http://webkit.org/b/48862> Windows build is broken due to
     9        undefined symbol nullptr
     10
     11        Reviewed by Anders Carlsson.
     12
     13        * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.def: Export nullptr.
     14
     15        * JavaScriptCore.vcproj/WTF/WTF.vcproj: Added NullPtr.cpp and let VS
     16        resort the files.
     17
     18        * wtf/NullPtr.cpp: Added.
     19
    1202010-11-02  Martin Robinson  <mrobinson@igalia.com>
    221
  • trunk/JavaScriptCore/JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.def

    r70200 r71155  
    229229    ?newUninitialized@CString@WTF@@SA?AV12@IAAPAD@Z
    230230    ?nonInlineNaN@JSC@@YANXZ
     231    ?nullptr@@3Vnullptr_t@std@@A
    231232    ?number@UString@JSC@@SA?AV12@H@Z
    232233    ?number@UString@JSC@@SA?AV12@I@Z
  • trunk/JavaScriptCore/JavaScriptCore.vcproj/WTF/WTF.vcproj

    r70198 r71155  
    266266                </File>
    267267                <File
     268                        RelativePath="..\..\wtf\text\AtomicString.cpp"
     269                        >
     270                </File>
     271                <File
     272                        RelativePath="..\..\wtf\text\AtomicString.h"
     273                        >
     274                </File>
     275                <File
     276                        RelativePath="..\..\wtf\text\AtomicStringHash.h"
     277                        >
     278                </File>
     279                <File
     280                        RelativePath="..\..\wtf\text\AtomicStringImpl.h"
     281                        >
     282                </File>
     283                <File
    268284                        RelativePath="..\..\wtf\ByteArray.cpp"
    269285                        >
     
    290306                </File>
    291307                <File
     308                        RelativePath="..\..\wtf\text\CString.cpp"
     309                        >
     310                </File>
     311                <File
     312                        RelativePath="..\..\wtf\text\CString.h"
     313                        >
     314                </File>
     315                <File
    292316                        RelativePath="..\..\wtf\CurrentTime.cpp"
    293317                        >
     
    298322                </File>
    299323                <File
     324                        RelativePath="..\..\wtf\DecimalNumber.cpp"
     325                        >
     326                </File>
     327                <File
     328                        RelativePath="..\..\wtf\DecimalNumber.h"
     329                        >
     330                </File>
     331                <File
    300332                        RelativePath="..\..\wtf\Deque.h"
    301333                        >
     
    307339                <File
    308340                        RelativePath="..\..\wtf\dtoa.h"
    309                         >
    310                 </File>
    311                 <File
    312                         RelativePath="..\..\wtf\DecimalNumber.cpp"
    313                         >
    314                 </File>
    315                 <File
    316                         RelativePath="..\..\wtf\DecimalNumber.h"
    317341                        >
    318342                </File>
     
    390414                </File>
    391415                <File
     416                        RelativePath="..\..\wtf\MainThread.cpp"
     417                        >
     418                </File>
     419                <File
     420                        RelativePath="..\..\wtf\MainThread.h"
     421                        >
     422                </File>
     423                <File
     424                        RelativePath="..\..\wtf\MathExtras.h"
     425                        >
     426                </File>
     427                <File
    392428                        RelativePath="..\..\wtf\MD5.cpp"
    393429                        >
     
    398434                </File>
    399435                <File
    400                         RelativePath="..\..\wtf\MainThread.cpp"
    401                         >
    402                 </File>
    403                 <File
    404                         RelativePath="..\..\wtf\MainThread.h"
    405                         >
    406                 </File>
    407                 <File
    408                         RelativePath="..\..\wtf\MathExtras.h"
    409                         >
    410                 </File>
    411                 <File
    412436                        RelativePath="..\..\wtf\MessageQueue.h"
    413437                        >
    414438                </File>
    415439                <File
     440                        RelativePath="..\..\wtf\Noncopyable.h"
     441                        >
     442                </File>
     443                <File
    416444                        RelativePath="..\..\wtf\NonCopyingSort.h"
    417445                        >
    418446                </File>
    419447                <File
    420                         RelativePath="..\..\wtf\Noncopyable.h"
    421                         >
    422                 </File>
    423                 <File
    424448                        RelativePath="..\..\wtf\NotFound.h"
    425449                        >
    426450                </File>
    427451                <File
     452                        RelativePath="..\..\wtf\NullPtr.cpp"
     453                        >
     454                </File>
     455                <File
    428456                        RelativePath="..\..\wtf\OwnArrayPtr.h"
    429457                        >
    430458                </File>
    431459                <File
     460                        RelativePath="..\..\wtf\OwnArrayPtrCommon.h"
     461                        >
     462                </File>
     463                <File
    432464                        RelativePath="..\..\wtf\OwnFastMallocPtr.h"
    433465                        >
     
    438470                </File>
    439471                <File
    440                         RelativePath="..\..\wtf\OwnArrayPtrCommon.h"
    441                         >
    442                 </File>
    443                 <File
    444472                        RelativePath="..\..\wtf\OwnPtrCommon.h"
    445473                        >
     
    518546                </File>
    519547                <File
     548                        RelativePath="..\..\wtf\text\StringBuffer.h"
     549                        >
     550                </File>
     551                <File
     552                        RelativePath="..\..\wtf\text\StringBuilder.cpp"
     553                        >
     554                </File>
     555                <File
     556                        RelativePath="..\..\wtf\text\StringBuilder.h"
     557                        >
     558                </File>
     559                <File
     560                        RelativePath="..\..\wtf\text\StringConcatenate.h"
     561                        >
     562                </File>
     563                <File
    520564                        RelativePath="..\..\wtf\StringExtras.h"
    521565                        >
    522566                </File>
    523567                <File
     568                        RelativePath="..\..\wtf\text\StringHash.h"
     569                        >
     570                </File>
     571                <File
     572                        RelativePath="..\..\wtf\text\StringImpl.cpp"
     573                        >
     574                </File>
     575                <File
     576                        RelativePath="..\..\wtf\text\StringImpl.h"
     577                        >
     578                </File>
     579                <File
     580                        RelativePath="..\..\wtf\text\StringStatics.cpp"
     581                        >
     582                </File>
     583                <File
    524584                        RelativePath="..\..\wtf\TCPackedCache.h"
    525585                        >
     
    542602                </File>
    543603                <File
     604                        RelativePath="..\..\wtf\text\TextPosition.h"
     605                        >
     606                </File>
     607                <File
    544608                        RelativePath="..\..\wtf\Threading.cpp"
    545609                        >
     
    590654                </File>
    591655                <File
    592                         RelativePath="..\..\wtf\text\AtomicString.cpp"
    593                         >
    594                 </File>
    595                 <File
    596                         RelativePath="..\..\wtf\text\AtomicString.h"
    597                         >
    598                 </File>
    599                 <File
    600                         RelativePath="..\..\wtf\text\AtomicStringHash.h"
    601                         >
    602                 </File>
    603                 <File
    604                         RelativePath="..\..\wtf\text\AtomicStringImpl.h"
    605                         >
    606                 </File>
    607                 <File
    608                         RelativePath="..\..\wtf\text\CString.cpp"
    609                         >
    610                 </File>
    611                 <File
    612                         RelativePath="..\..\wtf\text\CString.h"
    613                         >
    614                 </File>
    615                 <File
    616                         RelativePath="..\..\wtf\text\StringStatics.cpp"
    617                         >
    618                 </File>
    619                 <File
    620                         RelativePath="..\..\wtf\text\StringBuffer.h"
    621                         >
    622                 </File>
    623                 <File
    624                         RelativePath="..\..\wtf\text\StringBuilder.cpp"
    625                         >
    626                 </File>
    627                 <File
    628                         RelativePath="..\..\wtf\text\StringBuilder.h"
    629                         >
    630                 </File>
    631                 <File
    632                         RelativePath="..\..\wtf\text\StringConcatenate.h"
    633                         >
    634                 </File>
    635                 <File
    636                         RelativePath="..\..\wtf\text\StringHash.h"
    637                         >
    638                 </File>
    639                 <File
    640                         RelativePath="..\..\wtf\text\StringImpl.cpp"
    641                         >
    642                 </File>
    643                 <File
    644                         RelativePath="..\..\wtf\text\StringImpl.h"
    645                         >
    646                 </File>
    647                 <File
    648                         RelativePath="..\..\wtf\text\TextPosition.h"
    649                         >
    650                 </File>
    651                 <File
    652                         RelativePath="..\..\wtf\text\WTFString.cpp"
    653                         >
    654                 </File>
    655                 <File
    656                         RelativePath="..\..\wtf\text\WTFString.h"
    657                         >
    658                 </File>
    659                 <File
    660656                        RelativePath="..\..\wtf\unicode\UTF8.cpp"
    661657                        >
     
    675671                <File
    676672                        RelativePath="..\..\wtf\VectorTraits.h"
     673                        >
     674                </File>
     675                <File
     676                        RelativePath="..\..\wtf\text\WTFString.cpp"
     677                        >
     678                </File>
     679                <File
     680                        RelativePath="..\..\wtf\text\WTFString.h"
    677681                        >
    678682                </File>
Note: See TracChangeset for help on using the changeset viewer.