Commit c77834fe authored by Thanassis Tsiodras's avatar Thanassis Tsiodras

Use C99 - the latest ASN1SCC code depends on it.

For a specific grammar used by GMV, ASN1SCC emits LLONG_MIN - which as
per limits.h ...

    #  ifdef __USE_ISOC99

    /* Minimum and maximum values a `signed long long int' can hold.  */
    #   define LLONG_MAX 9223372036854775807LL
    #   define LLONG_MIN (-LLONG_MAX - 1LL)

In plain words, we need -std=c99 during the build.
parent 13d1d647
......@@ -364,7 +364,7 @@ def CalculateCFLAGS(node, withPOHIC=True):
if node not in g_distributionNodesPlatform:
panic("%s did not exist in the 'nodes' file" % node)
kind, _ = g_distributionNodesPlatform[node]
result = " " + mflags(node) + " "
result = " -std=c99 " + mflags(node) + " "
if g_bPolyORB_HI_C and withPOHIC:
result += handlePoHiC(node) + " "
result += handleXenomaiCflags(node)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment