FLTK native in 'D'. Would that be useful?

Carlos Santander csantander619 at gmail.com
Wed Aug 9 18:04:26 PDT 2006


MatthiasM escribió:
> Carlos Santander wrote:
>>> Thanks. I added the quickdraw.d header file.
>>
>> Ok. Now I get "make: *** No rule to make target `test/button.o', 
>> needed by
>> `button'.  Stop." I guess test/button.d is missing.
> 
> Gee, where did I leave my brain yesterday? OK, it is added.
> 
>> Ok, here it is (rev 5288):
>>
>> (gdb) bt
> 
> Cool. Thanks! That shows that I did not understand slicing, duplicating 
> and flexible arrays yet ;-)
> 

rev 5291 works except when exiting the programs with Command-Q: bus error again. 
Here's what I get:

(gdb) bt
#0  0x0001b774 in _D2fl3mac21QuitAppleEventHandlerFPvPviZi (appleEvt=0xbfffead0, 
reply=0xbfffeae0, refcon=0) at fl/mac.d:1309
#1  0x914f9960 in aeDispatchAppleEvent ()
#2  0x91504fc0 in sendToSelf ()
#3  0x914fd8f8 in AESendMessage ()
#4  0x914fd3d4 in aeSend ()
#5  0x9329938c in AESend ()
#6  0x9334fcc4 in SendCoreAEToSelf ()
#7  0x932b5bf0 in HandleCommandEvent ()
#8  0x931e72b4 in HIApplication::EventHandler ()
#9  0x931ea554 in DispatchEventToHandlers ()
#10 0x931e9cac in SendEventToEventTargetInternal ()
#11 0x932298f8 in CallNextEventHandler ()
#12 0x0001b2a8 in _D2fl3mac21carbonDispatchHandlerFPvPvPvZi 
(nextHandler=0xbffff010, event=0x309730, userData=0x0) at fl/mac.d:1113
#13 0x931ea554 in DispatchEventToHandlers ()
#14 0x931e9cac in SendEventToEventTargetInternal ()
#15 0x931f0a60 in SendEventToEventTarget ()
#16 0x932692cc in SendHICommandEvent ()
#17 0x93299158 in SendMenuItemSelectedEvent ()
#18 0x932b49d0 in HandleKeyboardEvent ()
#19 0x931ea554 in DispatchEventToHandlers ()
#20 0x931e9cac in SendEventToEventTargetInternal ()
#21 0x931e9b28 in SendEventToEventTargetWithOptions ()
#22 0x932b3ce0 in HandleKeyboardEvent ()
#23 0x931f0ddc in ToolboxEventDispatcherHandler ()
#24 0x931ea7a4 in DispatchEventToHandlers ()
#25 0x931e9cac in SendEventToEventTargetInternal ()
#26 0x932298f8 in CallNextEventHandler ()
#27 0x0001b2a8 in _D2fl3mac21carbonDispatchHandlerFPvPvPvZi 
(nextHandler=0xbffff7e0, event=0x30a660, userData=0x0) at fl/mac.d:1113
#28 0x931ea554 in DispatchEventToHandlers ()
#29 0x931e9cac in SendEventToEventTargetInternal ()
#30 0x931f0a60 in SendEventToEventTarget ()
#31 0x0001b534 in _D2fl3mac16do_queued_eventsFdZd (time=1e+20) at fl/mac.d:1259
#32 0x0001b6b8 in _D2fl3mac7fl_waitFdZi (time=1e+20) at fl/mac.d:1294
#33 0x00002740 in _D2fl2fl2Fl4waitFdZd (time_to_wait=1e+20) at fl/fl.d:141
#34 0x000027dc in _D2fl2fl2Fl3runFZi () at fl/fl.d:197
#35 0x00002650 in _Dmain (args={length = 1, ptr = 0x303610}) at test/hello.d:40
#36 0x00028a28 in _d_run_main2goFZv () at 
../../../gcc-4.0.3/libphobos/internal/dgccmain2.d:83
#37 0x00028afc in _d_run_main (argc=1, argv=0x0, main_func=0x1800000) at 
../../../gcc-4.0.3/libphobos/internal/dgccmain2.d:93
#38 0x00001e7c in _start (argc=1, argv=0xbffffb68, envp=0xbffffb70) at 
/SourceCache/Csu/Csu-58/crt.c:272
#39 0x00001d24 in start ()


-- 
Carlos Santander Bernal



More information about the Digitalmars-d-dwt mailing list