title: "Initializer element is not constant" error for no reason in Linux GCC, compiling C
body: <p>I take my main.c file and compile it with gcc -std=c1x -c main.c in Mac OS X, and it works fine with no errors. Then I do the exact same thing in LinuxMint and on a Raspberry Pi, and in both cases, it gives me errors about "initializer element is not constant".</p>
  
  <p>One example of a problematic line with relevant code:</p>
  
  <pre><code>//STATIC GLOBAL CONSTANTS
  const unsigned long long LATITUDE = (long) 3600000;
  const unsigned long long LONGITUDE = (long) 1810000;
  const unsigned long long MAX_COORDINATES_NUMBER = (LATITUDE-1) + LATITUDE*(LONGITUDE-1); //compiler error: initializer element is not constant
  </code></pre>
  
  <p>It's supposed to let me do arithmetic, right? I could just replace that with the actual numbers, and it would work, but then it would become messy. And it works fine on my Mac anyway. Is there some option in GCC I have to specify on Linux (besides -std=c1x, which you also don't need on Mac)?</p>