Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • sac2c sac2c
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 405
    • Issues 405
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 11
    • Merge requests 11
  • Deployments
    • Deployments
    • Releases
  • Wiki
    • Wiki
  • External wiki
    • External wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • sac-group
  • sac2csac2c
  • Issues
  • #2533
Closed
Open
Created Feb 02, 2026 by Thomas Koopman@thomasDeveloper

Casting problem with `ctype`

I get this error

      |                       ^
/tmp/SAC_5f8CJL/fun1.c: In function ‘SACwf_BinFile_CL_MT__binfopen__SACt_String__string_S__i_S’:
/tmp/SAC_5f8CJL/fun1.c:3343:23: error: assignment to ‘int’ from ‘void *’ makes integer from pointer without a cast [-Wint-conversion]
 3343 |           SAC_ND_A_FIELD( SAC_SET_NT_USG( FAG, (SACp_cwc_20, (SCL, (HID, (NUQ, (INT, (GLO, (NON, (NOT, (OTH, ))))))))))) = NULL;
      |                       ^

for BinFile, which has been annotated with ctype. I have trouble creating a minimal example, so I will just debug this locally, how hard can it be.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking