Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

File compiling method and device

A file and header file technology, which is applied in the field of file compilation, can solve problems such as compilation failure and header files not being found, and achieve the effect of saving compilation time and improving compilation efficiency

Inactive Publication Date: 2018-06-12
HANGZHOU DPTECH TECH
View PDF3 Cites 13 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The above modification will trigger recompilation of the source file containing the above header file 1 to generate the corresponding target file, but since the above modification will not cause changes in the original dependencies, when the header file indirectly included in the source file is modified , recompiling the source file may cause an error that the header file cannot be found, resulting in compilation failure

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • File compiling method and device
  • File compiling method and device
  • File compiling method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0019] Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numerals in different drawings refer to the same or similar elements unless otherwise indicated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with this application. Rather, they are merely examples of apparatuses and methods consistent with aspects of the present application as recited in the appended claims.

[0020] The terminology used in this application is for the purpose of describing particular embodiments only, and is not intended to limit the application. As used in this application and the appended claims, the singular forms "a", "the", and "the" are intended to include the plural forms as well, unless the context clearly dictates otherwise. It should also be understood that the term...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention provides a file compiling method and device. The file compiling method includes the steps of on the basis of a dependence relation of a target file on a source file, a first header fileand a second header file involved in the first header file, compiling the source file, wherein the first header file is the header file involved in the source file; when a compiling error caused by the second header file is detected, preprocessing the first header file and obtaining a third header file involved in the first header file at present; according to the source file, the first header file and the third header file, updating the dependence relation; on the basis of the updated dependence relation, compiling the source file to regenerating a target file. According to the file compilingmethod and device, by updating the dependence relation of the target file on the source file and the header files, normal execution of a compiling process can be achieved under the condition that theheader files indirectly involved in the source file are modified, and the compiling efficiency can be improved.

Description

technical field [0001] The present application relates to the field of computer technology, in particular to a method and device for compiling files. Background technique [0002] In the process of software development, multiple source files often share the same data or functions. In order to make code writing concise, developers usually write the above data or functions in header files, and use them when they need to refer to the above data or functions. The header file can be included in the source file through a specific syntax. During the compilation process, usually a set of dependencies can also be established for the target files to be generated, and the dependencies describe which source files and header files are required to generate the above target files. Due to the existence of this dependency, if the header file or source file required to generate the above target file is modified later, it will trigger the recompilation of the source file to regenerate the abo...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F8/41
CPCG06F8/41
Inventor 符志清
Owner HANGZHOU DPTECH TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products