Cosmic uses the + operator to calculate offsets into arrays. For the CodeWarrior IDE, you have to use a colon (:) instead:
ldx array:7 #else ldx array+7 #endif