Changeset 24

Show
Ignore:
Timestamp:
08/28/07 14:29:14 (1 year ago)
Author:
flithm
Message:

Phobos dmd linux fixes
Added check that if a stdlib isn't found and the project needs it an
error message is printed

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/cmaked/CMakeDInformation.cmake

    r23 r24  
    159159    ELSE(CMAKE_COMPILER_IS_GDC) 
    160160        SET(DSTDLIB_TYPE "-version=Phobos") 
    161         SET(DSTDLIB_FLAGS "-L${D_PATH}/lib -ltango -lphobos") 
     161        SET(DSTDLIB_FLAGS "-L${D_PATH}/lib -lphobos") 
    162162    ENDIF(CMAKE_COMPILER_IS_GDC) 
    163163ENDIF(CMAKE_D_USE_PHOBOS) 
  • trunk/cmaked/CMakeTestDCompiler.cmake

    r19 r24  
    159159  SET(CMAKE_D_TANGO_WORKS 1 CACHE INTERNAL "") 
    160160ENDIF(NOT CMAKE_D_TANGO_WORKS) 
     161# ensure the user has the appropriate std lib available 
     162IF(CMAKE_D_USE_TANGO AND NOT CMAKE_D_TANGO_WORKS) 
     163    MESSAGE(FATAL_ERROR "Tango is required for this project, but it is not available!") 
     164ENDIF(CMAKE_D_USE_TANGO AND NOT CMAKE_D_TANGO_WORKS) 
     165 
     166IF(CMAKE_D_USE_PHOBOS AND NOT CMAKE_D_PHOBOS_WORKS) 
     167    MESSAGE(FATAL_ERROR "Phobos is required for this project, but it is not available!") 
     168ENDIF(CMAKE_D_USE_PHOBOS AND NOT CMAKE_D_PHOBOS_WORKS) 
     169 
  • trunk/samples/minwin_gtk/minwin/gtk.d

    r21 r24  
    14711471 
    14721472    struct _GSourceCallbackFuncs { 
    1473     void (*ref) (gpointer cb_data); 
     1473    void (*theRef) (gpointer cb_data); 
    14741474    void (*unref) (gpointer cb_data); 
    14751475    void (*get) (gpointer cb_data,