Peppermintos 64 bit. I'm trying to build a program that will let me select
a data file. I'm currently trying to read the file and put the information
into a struct then display the data. I've set it up that every thing is in
the local directory.
I hve also tried[code]bruce@bruce-76:~/data/bruce/bin/src/GNCSearch$ gcc -std=standard -Wall -g -o gnctest .c -L./ -lbrlib
gcc: error: unrecognized command-line option ‘-std=standard’[\code]and[code]bruce@bruce-76:~/data/bruce/bin/src/GNCSearch$ gcc -ansi -Wall -g -o gnctest .c -L./ -lbrlib
brerrrprt.c:16:1: error: C++ style comments are not allowed in ISO C90
16 | // Add main()
| ^
brerrrprt.c:16:1: note: (this will be reported only once per input file)
In file included from brerrrprt.c:19:
brio.h:7:1: error: C++ style comments are not allowed in ISO C90
7 | // brsperror use strerror{ int errno ); include <string.h>
| ^
brio.h:7:1: note: (this will be reported only once per input file)
brio.h:157:8: warning: extra tokens at end of #endif directive [-Wendif-labels]
157 | #endif // BRIO_H[/code]</string.h>
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Peppermintos 64 bit. I'm trying to build a program that will let me select
a data file. I'm currently trying to read the file and put the information
into a struct then display the data. I've set it up that every thing is in
the local directory.
This is my command:
Where do I go from here?
Bruce
Edit by admins to format script for human legibility
Last edit: Anonymous 2023-01-16
I hve also tried[code]bruce@bruce-76:~/data/bruce/bin/src/GNCSearch$ gcc -std=standard -Wall -g -o gnctest .c -L./ -lbrlib
gcc: error: unrecognized command-line option ‘-std=standard’[\code]and[code]bruce@bruce-76:~/data/bruce/bin/src/GNCSearch$ gcc -ansi -Wall -g -o gnctest .c -L./ -lbrlib
brerrrprt.c:16:1: error: C++ style comments are not allowed in ISO C90
16 | // Add main()
| ^
brerrrprt.c:16:1: note: (this will be reported only once per input file)
In file included from brerrrprt.c:19:
brio.h:7:1: error: C++ style comments are not allowed in ISO C90
7 | // brsperror use strerror{ int errno ); include <string.h>
| ^
brio.h:7:1: note: (this will be reported only once per input file)
brio.h:157:8: warning: extra tokens at end of #endif directive [-Wendif-labels]
157 | #endif // BRIO_H[/code]</string.h>