[futurebasic] Re: [FB] CG - flashing bead

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : September 2011 : Group Archive : Group : All Groups

From: Robert Covington <artlythere@...>
Date: Fri, 9 Sep 2011 14:55:51 -0400
All are working now....corrupt prefs file no doubt. ('factory' reset fixed it)

On Sep 9, 2011, at 2:36 PM, Robert Covington wrote:

> With another demo from SVanVoorst, I found that the 'include panel1.h' and include panel2.h' files were not getting included.
> 
> If I copy them into the main file, and remove the include lines, it works. It seems something is not working right whenever an Include line is in the main file.
> 
> Why would FBtoC / GCC/ Clang have a problem here?
> 
> Robert
> 
> On Sep 8, 2011, at 3:26 PM, Robert Covington wrote:
> 
>> Yep.
>> 
>> If I paste in the Fn Handle2Btn function from the include, above the caller, then it compiles, but I get this error:
>> 
>> Error: gcc:
>> implicit declaration of function 'HIViewGetBounds' in fn 'MyBackgroundPaneDrawHandler' [line 175 of _1_Bead,Bead.c]
>> 
>> With clang:
>> Error: clang:
>> implicit declaration of function 'HIViewGetBounds' is invalid in C99 [-Wimplicit-function-declaration] [line 175:3 of _1_Bead,Bead.m]
>> 
>> Tlbx HIView.incl is up top in the file...so don't understand that.
>> 
>> On Sep 8, 2011, at 3:06 PM, Steve wrote:
>> 
>>> Have you deleted your build_temp folder since using the prior versions of FB 5?
>>> 
>>> On Sep 8, 2011, at 2:32 PM, Robert Covington wrote:
>>> 
>>>> FB 5.6.1
>>>> 
>>>> If I include Subs DefUsr include from same install, same error. 
>>>> 
>>>> Error: •• Unknown function in line 215 of Bead: Handle2Btn
>>>> 215:  bead = fn Handle2Btn( c )
>>>>                        ^
>>>> rc
>>>> 
>>>> On Sep 8, 2011, at 2:09 PM, Dan Baeckström wrote:
>>>> 
>>>>> Which version of FB are you using? Handle2Btn is defined in Subs DefUsr.incl. I see that in an earlier FB version (5.1) loitering on my hard disk, Subs DefUsr.incl defines a "runtime usr Handle2Btn" rather than a "local fn Handle2Btn" (which is the case in the newer versions). Running that version of FB5, I also get an error with Handle2Btn .Could that be it?
>>>>> 
>>>>> 
>>>>> Regards,
>>>>> 
>>>>> Dan
>>>>> 
>>>>> 
>>>>> On 8 Sep 2011, at 19:33, Robert Covington wrote:
>>>>> 
>>>>>> Why is it when I run this demo, I get these errors for fn Handle2Btn? Do I have a setting off somewhere? _L64 something?
>>>>>> 
>>>>>> Error: •• Unknown function in line 209 of Bead: Handle2Btn
>>>>>> 209:  dim as long           bead : bead = fn Handle2Btn( c )
>>>>>>                                                   ^
>>>>>> Error: •• Arithmetic expression expected in line 209 of Bead
>>>>>> 209:  dim as long           bead : bead = fn Handle2Btn( c )
>>>>>>                                                     ^
>>>>>> 
>>>>>> rc
>>>>>> 
>>>>>> --
>>>>>> To unsubscribe, send ANY message to: futurebasic-unsubscribe@...
>>>>>> To access the list archives, go to:  http://freegroups.net/groups/futurebasic/
>>>>>> 
>>>>> 
>>>>> 
>>>>> --
>>>>> To unsubscribe, send ANY message to: futurebasic-unsubscribe@...
>>>>> To access the list archives, go to:  http://freegroups.net/groups/futurebasic/
>>>>> 
>>>> 
>>>> 
>>>> --
>>>> To unsubscribe, send ANY message to: futurebasic-unsubscribe@...
>>>> To access the list archives, go to:  http://freegroups.net/groups/futurebasic/
>>>> 
>>> 
>>> 
>>> --
>>> To unsubscribe, send ANY message to: futurebasic-unsubscribe@...
>>> To access the list archives, go to:  http://freegroups.net/groups/futurebasic/
>>> 
>> 
>> 
>> --
>> To unsubscribe, send ANY message to: futurebasic-unsubscribe@...
>> To access the list archives, go to:  http://freegroups.net/groups/futurebasic/
>> 
> 
> 
> --
> To unsubscribe, send ANY message to: futurebasic-unsubscribe@...
> To access the list archives, go to:  http://freegroups.net/groups/futurebasic/
>