Open RJain12 opened 1 year ago
Thank you very much!
Brendon Watson, MD-PhD Assistant Professor in Psychiatry, Bioinformatics and Biomedical Engineering
Biomedical Sciences Research Building, Room 5059 University of Michigan 109 Zina Pitcher Place Ann Arbor, MI 48109-5720 Lab Website: http://watsonneurolab.org Clinical phone: 734-764-0231
On Thu, Jul 27, 2023 at 2:03 PM Rishab Jain @.***> wrote:
When I tried to run the CCG script, I got this error:
/Users/rishabjain/Desktop/Research/PETH neuron test/human-layers/ExternalPackages/dev/analysis/monosynapticPairs/CCGHeart.c:195:3: error: call to undeclared library function 'memcpy' with type 'void (void , const void , unsigned long)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] memcpy(mxGetPr(plhs[1]), (void )Pairs, PairCnt*sizeof(unsigned int)); ^ /Users/rishabjain/Desktop/Research/PETH neuron test/human-layers/ExternalPackages/dev/analysis/monosynapticPairs/CCGHeart.c:195:3: note: include the header
or explicitly provide a declaration for 'memcpy' The error message is indicating that the function memcpy is being used without a proper declaration.
I simply added
include
To this C engine file.
You can view, comment on, or merge this pull request online at:
https://github.com/buzsakilab/buzcode/pull/420 Commit Summary
- 3b8ccc1 https://github.com/buzsakilab/buzcode/pull/420/commits/3b8ccc1875f37806588d7cc92fe9343d8609233b Fixed memcpy declaration
File Changes
(1 file https://github.com/buzsakilab/buzcode/pull/420/files)
- M analysis/spikes/correlation/CCGHeart.c https://github.com/buzsakilab/buzcode/pull/420/files#diff-b4a24056031f069d5bc24c54347cf2fc294eafe36d085aefc88800c5f12765ec (2)
Patch Links:
- https://github.com/buzsakilab/buzcode/pull/420.patch
- https://github.com/buzsakilab/buzcode/pull/420.diff
— Reply to this email directly, view it on GitHub https://github.com/buzsakilab/buzcode/pull/420, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA26WTP7V3DHZIXYOVTNO3TXSKUL5ANCNFSM6AAAAAA22OCWG4 . You are receiving this because you are subscribed to this thread.Message ID: @.***>
When I tried to run the CCG script, I got this error:
The error message is indicating that the function memcpy is being used without a proper declaration.
I simply added
To this C engine file.