C3302: Preprocessor-number buffer overflow

[FATAL]

Description

This message may occur during preprocessing if there are too many numbers to handle for the compiler in a compilation unit. The compiler can handle a most 10'000 different numbers for a compilation unit. Internally for each number a descriptor exists. If an internal number descriptor already exists for a given number value with a given type, the existing one is used. But if e.g. more than 10'000 different numbers are used, this message will appear.

Example
  An array initialized with the full range of numbers from 
  0 to 10'000:

  
  const int array[] = {0, 1, 2, ... 10000};

  
Tips

Splitting up the source file into smaller parts until this message disappears.

See also