[uClinux-dev] wrong preprocessor directives in linxu-2.0.x/drivers/block/flash.c

Harald Küthe Harald.Kuethe at controlware.de
Tue Aug 23 09:27:21 EDT 2005


My compiler/preprocessor (arm-elf-gcc version 2.95.3 20010315 ) does not like (i.e. it uses the wrong code) the two 
<#elifdef FLASH_16BIT> directives in linux-2.0.x/drivers/block/flash.c

use 
#elif defined FLASH_16BIT

or 
#else
#if defined FLASH_16BIT
...
#endif

instead

Regards
Harald




More information about the uClinux-dev mailing list