I'm trying to compile an example program to run eSpeak and the above message is generated from the following code:
Is this a genuine syntax error or am I missing some option that needs to be set in the complier?
StructureUnion
number.l; ; used for WORD and SENTENCE events. For PHONEME events this is the phoneme mnemonic.
*name.s; ; used for MARK and PLAY events. UTF8 string
EndStructureUnion
EndStructure
Native types can't be used with pointers
Re: Native types can't be used with pointers
Change to *name_s and try the code again.
The nice thing about standards is there are so many to choose from. ~ Andrew Tanenbaum
Re: Native types can't be used with pointers
Better change to: *name and the code should compile without other changes 

PureBasic 5.73 | SpiderBasic 2.30 | Windows 10 Pro (x64) | Linux Mint 20.1 (x64)
Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.

Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.

Re: Native types can't be used with pointers
Haha, yes, you will have to change *name.s everywhere in code.
I only suggest *name_s so you know the pointer's intended data.
Like, *somepointer_i or *somepointer_d.
I only suggest *name_s so you know the pointer's intended data.
Like, *somepointer_i or *somepointer_d.
The nice thing about standards is there are so many to choose from. ~ Andrew Tanenbaum
Re: Native types can't be used with pointers
I think a pointer with name *name is always a string. I have never seen a name like 0815 
(okay, i have seen, 007
)

(okay, i have seen, 007

PureBasic 5.73 | SpiderBasic 2.30 | Windows 10 Pro (x64) | Linux Mint 20.1 (x64)
Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.

Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.

Re: Native types can't be used with pointers
The author fixed it.
Just fyi this is what he said:
The problem was that some pointer had native PureBasic Types, like this:
global *pointer.s
The latest PB is really strict about this, so you have to change it to the recommended: global *pointer, instead.
Thanks for your responses
Just fyi this is what he said:
The problem was that some pointer had native PureBasic Types, like this:
global *pointer.s
The latest PB is really strict about this, so you have to change it to the recommended: global *pointer, instead.
Thanks for your responses