Pourquoi ai-je une erreur sur l'initialiseur n'étant pas une constante?

Je suis en utilisant le code suivant.

const int X_ORIGIN = 1233086;             
const int Y_ORIGIN = -4728071;              
const int Z_ORIGIN = 4085704;
const int xyzOrigin[NUM_DIMENSIONS] = {X_ORIGIN, Y_ORIGIN, Z_ORIGIN};

Quand je compile, GCC me donne l'erreur suivante.

Transformations.h:16:1: erreur: initialiseur élément n'est pas constante

Ça veut dire quoi? Comment puis-je corriger mon code?

source d'informationauteur CodeKingPlusPlus