can any one tell me what errors are caught at compile time vs link time?
Printable View
can any one tell me what errors are caught at compile time vs link time?
At complile time all Syntax type of errors as well as un initialize variables used in any loop, which might be unfull fil loop condition successfully type of erros may occure, at the linking time
some of errors occurs
[B]No input files[/B]: GCC cannot find the source file.
[B]Missing headers or libraries[/B]: GCC can't find header files/libraries.
[B]Missing C++ headers[/B]: GCC can't find C++ header files.
[B]C++ comments[/B]: Avoid C++ comments in C programs.
[B]Which language[/B]: GCC resolves it by looking at filename extensions.
[B]Objective C[/B]: Problems with Objective C compiler.
[B]DJGPP-specific[/B]: How to write DJGPP-specific fragments.
[B]Unresolved externals[/B]: Where are those library functions?
[B]Which library[/B]: Which library has which functions?
[B]Libraries order[/B]: Which libraries to put first?
[B]Still unresolved[/B]: C++ misses complex and iostream functions.
[B]djgpp_first_ctor[/B]: Why are these unresolved?
[B]Large image[/B]: Static arrays bloat C++ program image.
[B]Large executable[/B]: Why is DJGPP .EXE so large?
[B]DJGPP and DLLs[/B]: Why don't we use DLLs to make programs smaller.
[B]No EXE[/B]: Novell Netware fails STUBIFY.
[B][B]Allegro and GRX[/B]: Problems building Allegro and GRX libraries.
[B]NULL redefined[/B]: [/B]Some C++ headers redefine NULL.
[B]C++ exceptions[/B]: GCC before 2.8.1 doesn't support them.
[B]Assembly output[/B]: How to generate assembly code with GCC.
[B]movedata.h[/B]: This header triggers compiler errors.
[B]Libraries[/B]: How to create object libraries.
[B]No stubify[/B]: GCC can't find stubify.exe.
for more information follow this link
[url]http://djgpp.linux-mirror.org/v2faq/faq8.html[/url]
Please correct me if I am wrong