This repository has been archived on 2026-09-06. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
golem-v2-tinycbor/tests/c90/c90.pro
T
Thiago Macieira cf222ff986 Make the c90 test pass on Mac and on Windows
On the Mac, the Clang compiler complains about our (required) use of
uint64_t, which is typedef'ed to long long. That type didn't exist in
C90.

On Windows, I forgot the CONFIG += console, resulting in

 error LNK2019: unresolved external symbol _WinMain@16 referenced in function "int __cdecl invoke_main(void)" (?invoke_main@@YAHXZ)

Signed-off-by: Thiago Macieira <thiago.macieira@intel.com>
2018-07-08 11:48:31 -07:00

8 lines
220 B
Prolog

CONFIG += testcase parallel_test console
CONFIG -= qt app_bundle
gcc: QMAKE_CFLAGS += -std=c90 -pedantic-errors -Wall -Wextra -Werror
darwin: QMAKE_CFLAGS += -Wno-long-long
SOURCES += tst_c90.c
INCLUDEPATH += ../../src