Compiler expected Unqualified-id before numeric constant error

Source: Internet
Author: User

Today debug code, encounter expected Unqualified-id before numeric constant error, code error module appears on a function module,

It is strange that this function module has been compiled many times before, and has not been modified, highlighting errors.

Online check, found that this error is generally in other places there are errors, the compiler error place in another place.

Solution:

Estimates are mostly in header files containing modules, step-by-step fallback versions, found to be in the header file of # include <string> introduced, it is unclear why

Reference: http://blog.csdn.net/zdl1016/article/details/5824443

Compiler expected Unqualified-id before numeric constant error

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.