cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with compiler

pbrea
Associate II
Posted on August 24, 2005 at 09:34

Problem with compiler

14 REPLIES 14
pbrea
Associate II
Posted on August 24, 2005 at 07:48

Thank for all the informations! You are very helpfully!

I attach all you have request to me in a .txt file in this message.

Bye.

________________

Attachments :

main.txt : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006I0Ai&d=%2Fa%2F0X0000000bVE%2F6gI7r6VGbHbIm3haqHQ5tDvrs8WDmxRsts3XxjwXaE4&asPdf=false
pbrea
Associate II
Posted on August 24, 2005 at 07:52

Excuse me. I have posted the wrong text file!

Now I post the correct version.

Thanks

________________

Attachments :

main.txt : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006I0CY&d=%2Fa%2F0X0000000bVG%2Fk506rHjft8ppStRfFEVueAi6Zm6j1Ll3fwGsJmpW.PM&asPdf=false
pbrea
Associate II
Posted on August 24, 2005 at 07:55

Excuse me but I have some problems with my browser!

I hope this is the correct version!

Bye.

________________

Attachments :

prog.txt : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006I0CT&d=%2Fa%2F0X0000000bVD%2FYLF4JT1rPYNI6moTKpPHRirm0rvLI6B6lZ.C7H5r4eY&asPdf=false
wolfgang2399
Associate II
Posted on August 24, 2005 at 08:55

Hi,

now I hope I've got it:

You can use the option -Cni (no integral promotion on characters) to avoid promotion of characters to integrals.

Please note that there seams to be a fault in the manual regarding the two char multiplication with -Cni.

To get the option above please follow the way:

Edit & ''project'' Settings [Alt+F7] & Compiler for ST7

and then select

Options & Optimizations & [x] no integral promotion on characters

That would suppress _CMPS. But I think you agree - the result is the same?

Ciao

WoRo

pbrea
Associate II
Posted on August 24, 2005 at 09:34

You are my salvation!

Now all works correctly.

Thanks.

See you.