Learn how to a build a cloud-first strategyRegister Now

  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1078
  • Last Modified:

#pragma section on metrowerks codewarrior compiler

What does the pragma "#pragma section" do on metrowerks codewarrior compiler?
I mean its behavior...
  • 2
1 Solution
It specifies sections in the generated object code.

For example :

        #pragma section ".data"

specifies a section called ".data".

Refer to the compiler documentation for more information (look for "Code Warrior compiler reference" in Google for example if you don't have it).
May I ask why you gave a B grade ? That usually means that something was missing in the answer and/or that something is still unclear. If that's the case, then please do not hesitate to ask for clarification where needed.

Featured Post

Vote for the Most Valuable Expert

It’s time to recognize experts that go above and beyond with helpful solutions and engagement on site. Choose from the top experts in the Hall of Fame or on the right rail of your favorite topic page. Look for the blue “Nominate” button on their profile to vote.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now