[futurebasic] Clang illegal encoding

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

From: Steve Crossman <mactech@...>
Date: Sun, 05 Oct 2014 07:57:54 -0400
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 );