Author Topic: help me this error  (Read 9136 times)

salo

  • Guest
help me this error
« on: March 22, 2010, 12:51:39 pm »
When I used code:: block to run a trinh.Thi code:: block does not support keyword union Regs.
i can't fix error that.

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9702
Re: help me this error
« Reply #1 on: March 22, 2010, 02:38:36 pm »
Thi code:: block does not support keyword union Regs.
This error is thrown by the compiler, not Code::Blocks. Code::Blocks is just the IDE reporting this to you, nothing else. Ask in a C / C++ / compiler forum for help and / or check your project settings. This forum is dedicated to Code::Blocks related errors, only.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ

Offline rcoll

  • Almost regular
  • **
  • Posts: 150
Re: help me this error
« Reply #2 on: March 22, 2010, 06:08:04 pm »
This is not the place to learn beginning programming ... but, just to expedite things a bit:
The compiler is NOT complaining about the "union" keyword; it is complaining that REGS has an unknown size.  Check your definition of REGS to make sure that it is properly defined.

Ringo