About the makefile:3:*** omission delimiter. Stop it. "Workaround Two

Source: Internet
Author: User

The following fashions are from others:

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

I had this problem when I wrote makefile.
I checked it on the internet, and they said yes.
GCC, g++, RM,CP Front is tab, not space
I changed both sides, all with the tab, but the compilation still prompts for errors
makefile:3:*** missing delimiter. Stop it
I realized that in Getit's
Compilation, Preferences: Under the Editor Options page, there is a "bit table" with a check box: inserting spaces instead of tabs (s)
If selected, the editor will replace the "system table" with a space
I removed it and compiled it successfully after I modified my makefile.

Other words:

First look at whether to use tab
Two second to see if it's really using tab

+++++++++++++++++++++++++++++++++++++++++++++++++++++++

This method has not been used, but for vim found a way

Added in Vim's configuration file. vimrc

Set Tabstop=8 "Sets the width of tab (Tab key) set Softtabstop=8" Set the width of the soft tab set expandtab "tab replace space

If you have a similar configuration statement, set it to this format and re-process the previously written tab problem for auto-alignment

About the makefile:3:*** omission delimiter. Stop it. "Workaround Two

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.