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 395
    • Issues 395
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 22
    • Merge requests 22
  • Deployments
    • Deployments
    • Releases
  • Wiki
    • Wiki
  • External wiki
    • External wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • sac-group
  • sac2csac2c
  • Issues
  • #2314
Closed
Open
Created May 10, 2022 by Thomas Koopman@thomasDeveloper

Problem triggering rtspec

I have a problem compiling the compiler on Ubuntu 22.04, giving the following error

/tmp/SAC_2Ha0OL/fun1.c: In function ‘SACwf_counter__init_theCounter__SACt_counter__counter’:
/tmp/SAC_2Ha0OL/fun1.c:134:5: warning: implicit declaration of function ‘SAC_WE_DECL_REG_FLAG’ [-Wimplicit-function-declaration]
  134 |     SAC_WE_DECL_REG_FLAG()
      |     ^~~~~~~~~~~~~~~~~~~~
/tmp/SAC_2Ha0OL/fun1.c:134:27: error: expected ‘;’ before ‘SAC_WE_DECL_REG_OBJ’
  134 |     SAC_WE_DECL_REG_FLAG()
      |                           ^
      |                           ;
  135 |     SAC_WE_DECL_REG_OBJ()
      |     ~~~~~~~~~~~~~~~~~~~    
/tmp/SAC_2Ha0OL/fun1.c:170:1: warning: implicit declaration of function ‘SAC_WE_FUN_DEF_END2’ [-Wimplicit-function-declaration]
  170 | SAC_WE_FUN_DEF_END2()
      | ^~~~~~~~~~~~~~~~~~~
/tmp/SAC_2Ha0OL/fun1.c:170:22: error: expected ‘;’ before ‘void’
  170 | SAC_WE_FUN_DEF_END2()
      |                      ^
      |                      ;
/tmp/SAC_2Ha0OL/fun1.c:472:1: error: expected declaration or statement at end of input
  472 | SAC_ND_FUN_DEF_END2()
      | ^

The RTSPEC is off, and the RTSPECmode is simple.

Edited May 10, 2022 by Thomas Koopman
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking