[futurebasic] Re: [FB] Clang illegal encoding

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : October 2014 : Group Archive : Group : All Groups

From: Bernie <fblist.bw@...>
Date: Sun, 5 Oct 2014 13:36:10 +0100
I don't know why you're suddenly getting these warnings, but if the menu item titles contain the ellipsis character, change them to three dots (full stop.).

bw
[iPhone]


> On 5 Oct 2014, at 12:57, Steve Crossman <mactech@...> wrote:
> 
> I don’t recall seeing this error in the prior FB that I was using.
> 
> Why are these warnings appearing?
> Can I turn these off somehow? 
> 
> menu _mtoolbar7,10,1, "Open…”
> 
> Warning: clang:  [FB line: 529 in menu.incl]
> illegal character encoding in string literal [-Winvalid-source-encoding] [line 654:53 of _28_Utilities,menu.incl.m]
> 
> ———————
> 
> FBMenu( 1127, 10, 1, PSstrcpy( STACK_PUSH, "\pOpen…" ), 0 ); 
> 
> menu _mDocument, 11,_enable,gDash     // gDash is assigned “-“ as a global
> 
> Warning: clang:  [FB line: 349 in menu.incl]
> incompatible pointer to integer conversion passing 'StringPtr' (aka 'unsigned char *') to parameter of type 'long' [-Wint-conversion] [line 477:18 of _28_Utilities,menu.incl.m]
>  FBMenu( 4, 17, PSstrcpy( STACK_PUSH, gDash ), 0, 0 ); 
> 
> ----------------
> 
> menu _mDocument, 4, _enable, "Find… /F “ 
> 
> Warning: clang:  [FB line: 268 in menu.incl]
> illegal character encoding in string literal [-Winvalid-source-encoding] [line 398:49 of _28_Utilities,menu.incl.m]
>  FBMenu( 3, 4, 1, PSstrcpy( STACK_PUSH, "\pFind… /F " ), 0 ); 
>