so it seems within expr, curly brackets are required: return [string range $t 0 [expr $sep - 1]] --> return [string range $t 0 [expr {$sep - 1}]] that's a simple fix. cheers.
errorin target/stm32h7x.cfg
Error executing event examine-end on target stm32f1x.cpu
ups, i have to correct myself! i was playing with gcc -save-temps :-o (which might have removed the comments in some way, the attributes not). --> the comments /* falls through */ or similar are NOT ignored. sorry for false report.
ups, i have to correct myself! i was playing with gcc -save-temps :-o (which might have removed the comments in some way, the attributes not). --> the comments / falls through / or similar are NOT ignored. sorry for false report.
ups, i have to correct myself! i was playing with gcc -save-temps :-o
it seems, $ arm-none-eabi-gcc --version arm-none-eabi-gcc (Fedora 7.1.0-5.fc27) 7.1.0 Copyright (C) 2017 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. has removed the feature to get rid of the warning by using a comment. i use __attribute__ ((fallthrough)); for now.
it seems, $ arm-none-eabi-gcc --version arm-none-eabi-gcc (Fedora 7.1.0-5.fc27) 7.1.0 Copyright (C) 2017 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. has removed the feature to get rid of the warning by using a comment. i use__attribute__ ((fallthrough));for now.