Add missing include
There are currently no pipelines.
To run a merge request pipeline, the jobs in the CI/CD configuration file must be configured to run in merge request pipelines and you must have sufficient permissions in the source project.
GitLab upgrade completed. Current version is 17.11.4.
This fixes these warnings:
/home/pswartva/chameleon/build/compute/sgram.c: In function ‘CHAMELEON_sgram_WS_Alloc’:
/home/pswartva/chameleon/build/compute/sgram.c:56:15: warning: implicit declaration of function ‘calloc’ [-Wimplicit-function-declaration]
56 | options = calloc( 1, sizeof(struct chameleon_psgram_s) );
| ^~~~~~
/home/pswartva/chameleon/build/compute/sgram.c:56:15: warning: incompatible implicit declaration of built-in function ‘calloc’
/home/pswartva/chameleon/build/compute/sgram.c:20:1: note: include ‘<stdlib.h>’ or provide a declaration of ‘calloc’
19 | #include "control/common.h"
+++ |+#include <stdlib.h>
20 |
/home/pswartva/chameleon/build/compute/sgram.c: In function ‘CHAMELEON_sgram_WS_Free’:
/home/pswartva/chameleon/build/compute/sgram.c:101:5: warning: implicit declaration of function ‘free’ [-Wimplicit-function-declaration]
101 | free( ws );
| ^~~~
/home/pswartva/chameleon/build/compute/sgram.c:101:5: warning: incompatible implicit declaration of built-in function ‘free’
/home/pswartva/chameleon/build/compute/sgram.c:101:5: note: include ‘<stdlib.h>’ or provide a declaration of ‘free’
/home/pswartva/chameleon/build/compute/cgram.c: In function ‘CHAMELEON_cgram_WS_Alloc’:
/home/pswartva/chameleon/build/compute/cgram.c:56:15: warning: implicit declaration of function ‘calloc’ [-Wimplicit-function-declaration]
56 | options = calloc( 1, sizeof(struct chameleon_pcgram_s) );
| ^~~~~~
/home/pswartva/chameleon/build/compute/cgram.c:56:15: warning: incompatible implicit declaration of built-in function ‘calloc’
/home/pswartva/chameleon/build/compute/cgram.c:20:1: note: include ‘<stdlib.h>’ or provide a declaration of ‘calloc’
19 | #include "control/common.h"
+++ |+#include <stdlib.h>
20 |
/home/pswartva/chameleon/build/compute/cgram.c: In function ‘CHAMELEON_cgram_WS_Free’:
/home/pswartva/chameleon/build/compute/cgram.c:101:5: warning: implicit declaration of function ‘free’ [-Wimplicit-function-declaration]
101 | free( ws );
| ^~~~
/home/pswartva/chameleon/build/compute/cgram.c:101:5: warning: incompatible implicit declaration of built-in function ‘free’
/home/pswartva/chameleon/build/compute/cgram.c:101:5: note: include ‘<stdlib.h>’ or provide a declaration of ‘free’
/home/pswartva/chameleon/build/compute/zgram.c: In function ‘CHAMELEON_zgram_WS_Alloc’:
/home/pswartva/chameleon/build/compute/zgram.c:56:15: warning: implicit declaration of function ‘calloc’ [-Wimplicit-function-declaration]
56 | options = calloc( 1, sizeof(struct chameleon_pzgram_s) );
| ^~~~~~
/home/pswartva/chameleon/build/compute/zgram.c:56:15: warning: incompatible implicit declaration of built-in function ‘calloc’
/home/pswartva/chameleon/build/compute/zgram.c:20:1: note: include ‘<stdlib.h>’ or provide a declaration of ‘calloc’
19 | #include "control/common.h"
+++ |+#include <stdlib.h>
20 |
/home/pswartva/chameleon/build/compute/zgram.c: In function ‘CHAMELEON_zgram_WS_Free’:
/home/pswartva/chameleon/build/compute/zgram.c:101:5: warning: implicit declaration of function ‘free’ [-Wimplicit-function-declaration]
101 | free( ws );
| ^~~~
/home/pswartva/chameleon/build/compute/zgram.c:101:5: warning: incompatible implicit declaration of built-in function ‘free’
/home/pswartva/chameleon/build/compute/zgram.c:101:5: note: include ‘<stdlib.h>’ or provide a declaration of ‘free’
/home/pswartva/chameleon/build/compute/dgram.c: In function ‘CHAMELEON_dgram_WS_Alloc’:
/home/pswartva/chameleon/build/compute/dgram.c:56:15: warning: implicit declaration of function ‘calloc’ [-Wimplicit-function-declaration]
56 | options = calloc( 1, sizeof(struct chameleon_pdgram_s) );
| ^~~~~~
/home/pswartva/chameleon/build/compute/dgram.c:56:15: warning: incompatible implicit declaration of built-in function ‘calloc’
/home/pswartva/chameleon/build/compute/dgram.c:20:1: note: include ‘<stdlib.h>’ or provide a declaration of ‘calloc’
19 | #include "control/common.h"
+++ |+#include <stdlib.h>
20 |
/home/pswartva/chameleon/build/compute/dgram.c: In function ‘CHAMELEON_dgram_WS_Free’:
/home/pswartva/chameleon/build/compute/dgram.c:101:5: warning: implicit declaration of function ‘free’ [-Wimplicit-function-declaration]
101 | free( ws );
| ^~~~
/home/pswartva/chameleon/build/compute/dgram.c:101:5: warning: incompatible implicit declaration of built-in function ‘free’
/home/pswartva/chameleon/build/compute/dgram.c:101:5: note: include ‘<stdlib.h>’ or provide a declaration of ‘free’
To run a merge request pipeline, the jobs in the CI/CD configuration file must be configured to run in merge request pipelines and you must have sufficient permissions in the source project.