• Join
  • Sign In with my.TI Login
Texas Instruments
  • Products
  • Applications
  • Tools & Software
  • Support & Community
  • Sample & Buy
  • About TI
Sample & Purchase Cart Sample & Purchase Cart
  • Search
  • Advanced
TI E2E™ Community
  • Support Forums
  • Blogs
  • Groups
  • Videos
  • 简体中文
  • More ...
TI Home » TI E2E Community » Support Forums » Development Tools » Code Composer Studio » Code Composer Forum » CCS5.2.1 warning when using system included functions
Share
Code Composer Studio
  • Forum
  • Announcements
Options
  • Subscribe via RSS
Common Questions
  • Code Composer Studio Forum Usage Guidelines

  • Resources
  • Code Composer Studio (CCStudio) Product Folder
  • Troubleshooting CCS
  • CCS Wiki
  • Download CCS
  • Order CCS
  • Tools Insider Blog
  • Bug Tracking
  • Forums

    CCS5.2.1 warning when using system included functions

    This question is answered
    Silvester M��ller
    Posted by Silvester M��ller
    on Jul 30 2012 10:02 AM
    Prodigy80 points

    Hello,

    I have a problem after updating to CCS5.1.0 to CCS5.2.1. I use CCS only for MSP430

    The compiler version is set form 4.0.0 to 4.1.1

    In the current project all system included functions are displayed as warning.

    See screenshot ->assert function

    How can I fix this bug without resetup of the project?

    Best regards Silvester Mueller

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    All Replies
    • Lisa TI
      Posted by Lisa TI
      on Jul 30 2012 10:10 AM
      Guru100125 points

      Hi Silvester,

      can you please try reattaching the screenshot?  Could you please provide more information?  Have you imported the project into a fresh workspace? Is it only warnings you see?

      Any further information will help.

      Best REgards,
      Lisa

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Silvester M��ller
      Posted by Silvester M��ller
      on Jul 31 2012 02:13 AM
      Prodigy80 points

      Here is the screenshot:

      I tried both. First I only set the link to the work space folder and changed the compiler version.  An import of the project I have also tried but it has no effect.

      Yes, its only warning it is shown in the editor but not in the "Problems window".

      My colleague who is working also at the project has the same problem.

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Silvester M��ller
      Posted by Silvester M��ller
      on Jul 31 2012 02:14 AM
      Prodigy80 points

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Silvester M��ller
      Posted by Silvester M��ller
      on Jul 31 2012 02:16 AM
      Prodigy80 points

      I tried to add the screen shot 3 time it doesn't work.

      assert(0); for example is shown as syntax error only in the editor window

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Lisa TI
      Posted by Lisa TI
      on Jul 31 2012 07:08 AM
      Guru100125 points

      Hi Silvester,

      you can try sending it offline in a friend/conversation request.  If it is only a warning you are getting, that is nothing to worry about however.  This could also be something you can minimze with a setting.

      Best Regards,
      Lisa

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Silvester M��ller
      Posted by Silvester M��ller
      on Aug 02 2012 01:16 AM
      Prodigy80 points

      Hello Lisa,

      it is also when I start the Hello world project. The assert function is show in the editor windows as syntax error.

      It's only the assert function. Other system includes are okay.

      Code example:

      #undef NDEBUG

      #include <assert.h>
      #include <stdio.h>


      /*
       * hello.c
       */
      void main(void) {
          printf("Hello World!\n");
                  assert(0);
      }

      Best regards

      Silvester

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Lisa TI
      Posted by Lisa TI
      on Aug 03 2012 08:53 AM
      Guru100125 points

      Hi Silvester,

      how is the assert function defined?  Is it in the assert.h?  I can not debug your code for you but it seems this is the path to look into.

      Best Regards,
      Lisa

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Silvester M��ller
      Posted by Silvester M��ller
      on Aug 03 2012 09:07 AM
      Prodigy80 points

      Hi Lisa,

      It is defined in the assert.h witch is delivered with ccs. Its a C default library.

      The function works correct but it is displayed in the editor as syntax erorr in ccs 5.2 -> line: assert(0); The project can be compiled, so it is no critical bug.

      In ccs 5.1 it was correctly displayed.

      Best Regards

      Silvester

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Lisa TI
      Posted by Lisa TI
      on Aug 03 2012 12:44 PM
      Guru100125 points

      Hi Silvester,

      I have been able to reproduce this so we will be looking into it.  As soon as there is feedback we will get back to you.

      Best Regards,
      Lisa

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Lisa TI
      Posted by Lisa TI
      on Aug 03 2012 15:14 PM
      Verified Answer
      Verified by Lisa TI
      Guru100125 points

      Hi Silvester,

      I have filed this as a bug.  It is likely a conflict in the editors syntax checker and that of eclipse. The ID is SDSCM00044927 and it can be tracked here

      https://cqweb.ext.ti.com/cqweb/main?command=GenerateMainFrame&service=CQ&schema=SDO-Web&contextid=SDOWP&username=readonly&password=readonly

      Sorry for any inconvenience and all the best with development.

      Best Regards,
      Lisa

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    TI E2E™ Community
    • Support Forums
    • Blogs
    • Videos
    • Groups
    • Site Support & Feedback
    • Settings
    TI E2E™ Community Groups
    • TI University Program
    • Make the Switch
    • Microcontroller Projects
    • Motor Drive & Control
    Other Communities
    • Deyisupport
    • Designsomething.org
    • beagleboard.org
    • TI on Element 14
    • TI on TechXchangeSM
    Other Technical & Support Resources
    • WEBENCH® Design Center
    • Product Information Centers
    • Technical Documents
    • TI Design Network
    • TI Technical Articles
    • TI Training

    All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.

    Content on this site may contain or be subject to specific guidelines or limitations on use. All postings and use of the content on this site are subject to the Terms of Use of the site; third parties using this content agree to abide by any limitations or guidelines and to comply with the Terms of Use of this site. TI, its suppliers and providers of content reserve the right to make corrections, deletions, modifications, enhancements, improvements and other changes to the content and materials, its products, programs and services at any time or to move or discontinue any content, products, programs, or services without notice.

    Follow Us Texas Instruments on Facebook Texas Instruments on Twitter Texas Instruments on LinkedIn Texas Instruments on Google+
    TI Worldwide | Contact Us | my.TI Login | Site Map | Corporate Citizenship | mobile m.ti.com (Mobile Version)

    TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs and
    embedded processors, along with software, tools and the industry’s largest sales/support staff.

    © Copyright 1995-2013 Texas Instruments Incorporated. All rights reserved.
    Trademarks | Privacy Policy | Terms of Use