Ticket #31 (new defect)

Opened 6 months ago

Last modified 4 months ago

GNU Makefile (compd alternative)

Reported by: afb Assigned to: JJR
Priority: major Milestone:
Component: Structure and Packaging Version: TRUNK
Keywords: Cc:

Description

Don't have DMD nor compd on the Mac, so made a GNU alternative... (GNU Make, GDC)

Should work on MinGW and Linux too (all assuming GDC workaround to GtkResponseType?)

Attachments

GNUmakefile (2.2 kB) - added by afb on 03/16/08 06:11:27.
GNUmakefile
GNUmakefile.2 (2.2 kB) - added by Mike Wey on 03/23/08 12:11:50.
GNUmakefile - with some changes for linux

Change History

03/16/08 06:11:27 changed by afb

  • attachment GNUmakefile added.

GNUmakefile

(follow-up: ↓ 3 ) 03/16/08 06:12:09 changed by afb

===================================================================
--- src/gtkc/gtktypes.d (revision 469)
+++ src/gtkc/gtktypes.d (arbetskopia)
@@ -1005,6 +1005,7 @@
  */
 public enum GtkResponseType
 {
+       UNUSED = 0, /* workaround for GDC bug */
        /+* GTK returns this if a response widget has no responseId,
         * or if the dialog gets programmatically hidden or destroyed.
        +/

03/23/08 12:11:50 changed by Mike Wey

  • attachment GNUmakefile.2 added.

GNUmakefile - with some changes for linux

03/23/08 12:15:56 changed by Mike Wey

I changed the LDFLAGS for linux. If someone could check the ones for OSX - see ticket #30 comment 7

(in reply to: ↑ 1 ) 04/20/08 09:03:20 changed by Mike Wey

Replying to afb:

{{{ =================================================================== --- src/gtkc/gtktypes.d (revision 469) +++ src/gtkc/gtktypes.d (arbetskopia) @@ -1005,6 +1005,7 @@ */ public enum GtkResponseType? { + UNUSED = 0, /* workaround for GDC bug */ /+* GTK returns this if a response widget has no responseId, * or if the dialog gets programmatically hidden or destroyed. +/ }}}

The GDC bug that needs this workaround is fixed in GDC release 0.25 / svn 213.