PDF compilation error solution -------- [Badboy], pdf compilation badboy

Source: Internet
Author: User

PDF compilation error solution -------- [Badboy], pdf compilation badboy

Today, when compiling PDF files, I found that the limit of z values in STL cannot be compiled,

Return GetRangeConstraint (value <= std: numeric_limits: max (), true );

The following error occurs:

Warning C4003: The real parameter of the "max" macro is insufficient.

Error C2589: "(": ":" illegal tag on the right

Google, we used to enclose max in parentheses to avoid macro confusion with windows.

Return GetRangeConstraint (value <= (std: numeric_limits: max (), true );

After modifying this code, I finally compiled the PDF file. Thanks to Google search, it may not be able to solve it without it.





No errors are displayed when you debug and compile the program. If you just run the program, it will show that the program has stopped working.

You can refer to the following situations,
1. An error occurs on the JVM virtual machine, that is, an error occurs in the Java development environment and has nothing to do with your program,
Solution: You can only try to reinstall the Java development environment.
2. RuntimeException occurs, such as NullPointerException and ArrayIndexOutOfBoundsException. errors such as RuntimeException may occur only when they are not displayed during compilation.
Solution: locate possible Errors Based on the exception information.
3. memory overflow, such as recursive calling of methods, large data volume, and accidental memory overflow.
Solution: run multiple times first. If all exceptions occur, unexpected memory overflow can be ruled out. If it is not accidental memory overflow, you have to check the source code that may cause memory overflow and correct it.

An error occurred while converting ppt to pdf.

When converting a PPT file to a PDF file, the following error occurs: "Compilation error in the implicit module. This is because your software is not properly installed. Next, reinstall the latest version! A little difficult!

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.