Could you supply an example where this patches the problem? I can't seem to construct an example which triggers the compilation error and is then fixed by the patch.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
See attachment for an example. I compiled it with:
$ gcc -lcgreen example.c
example.c: In function ‘sample_mock’:
example.c:8:2: error: invalid use of undefined type ‘struct SampleStructure’
Could you supply an example where this patches the problem? I can't seem to construct an example which triggers the compilation error and is then fixed by the patch.
See attachment for an example. I compiled it with:
$ gcc -lcgreen example.c
example.c: In function ‘sample_mock’:
example.c:8:2: error: invalid use of undefined type ‘struct SampleStructure’
Operating system: Ubuntu 12.04
Gcc version: 4.6.3