1. euphoria 4.1 rev bf8e40a63e77

Hallo

Windows 10-64bit tdm-gcc 4.9.2-32bit

eu4.1 rev bf8e40a63e77 now gives warnings for unused constants in:

std/memory.e and
machine.e

the only files that contains 'with warning'

it seems something in the interpreter has changed becouse the include files are the same.

also euc.res is not created during the build
fix: windres -O coff euc.rc euc.res and copy it to build

EDIT:
Same for 4.0.6 6440:ba0723d4b392

also the makefile calls cc not gcc (easy to fix: copy gcc.exe to cc.exe)

Andreas

new topic     » topic index » view message » categorize

2. Re: euphoria 4.1 rev bf8e40a63e77

Are these public or global constants? The unused local constants are supposed to generate a warning now. Last month, I merged 4.0 warning changes. There are many warnings that were not and many that are not getting tested. I started a test file for this problem.

new topic     » goto parent     » topic index » view message » categorize

3. Re: euphoria 4.1 rev bf8e40a63e77

Hallo

SDPringle said...

Are these public or global constants? The unused local constants are supposed to generate a warning now. Last month, I merged 4.0 warning changes. There are many warnings that were not and many that are not getting tested. I started a test file for this problem.

they are local to machine.e.

Looks like this:

Warning { not_used }: 
    <0228>:: ..\..\..\euide\include\machine.e - module constant 'M_ALLOC_LOW' is not used 
Warning { not_used }: 
    <0228>:: ..\..\..\euide\include\machine.e - module constant 'M_FREE_LOW' is not used 
Warning { not_used }: 
    <0228>:: ..\..\..\euide\include\machine.e - module constant 'M_INTERRUPT' is not used 
Warning { not_used }: 
    <0228>:: ..\..\..\euide\include\machine.e - module constant 'M_USE_VESA' is not used 
Warning { not_used }: 
    <0228>:: ..\..\..\euide\include\machine.e - module constant 'M_TICK_RATE' is not used 
Warning { not_used }: 
    <0228>:: ..\..\..\euide\include\machine.e - module constant 'M_GET_VECTOR' is not used 
Warning { not_used }: 
    <0228>:: ..\..\..\euide\include\machine.e - module constant 'M_SET_VECTOR' is not used 
Warning { not_used }: 
    <0228>:: ..\..\..\euide\include\machine.e - module constant 'M_LOCK_MEMORY' is not used 
Warning { not_used }: 
    <0228>:: ..\..\..\euide\include\machine.e - module constant 'LOW_ADDR' is not used 

Andreas

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu