V: linux gcc -std=c11 segfault

Created on 23 Jun 2019  路  6Comments  路  Source: vlang/v

gcc 9.1.0

$ cc -std=c11 -w -o vc v.c
$ ./vc -o v .
Segmentation fault
$ cc -std=gnu11 -w -o vc v.c
$ ./vc -o v .

Most helpful comment

I do it in ~/code/v/compiler directory. I mean for Linux gcc it should be -std=gnu11

All 6 comments

~/code directory has to be used (it's a temporary limitation)

I do it in ~/code/v/compiler directory. I mean for Linux gcc it should be -std=gnu11

486

I can confirm this: segfault with -std=c11, compiles ok with -std=gnu11 on Ubuntu 19

Solved it: #507

Was this page helpful?
0 / 5 - 0 ratings

Related issues

elimisteve picture elimisteve  路  3Comments

arg2das picture arg2das  路  3Comments

XVilka picture XVilka  路  3Comments

markgraydev picture markgraydev  路  3Comments

choleraehyq picture choleraehyq  路  3Comments