Geeks Talk

Prepare for your Next Interview




C++ compile time errors vs link time errors

This is a discussion on C++ compile time errors vs link time errors within the C and C++ forums, part of the Software Development category; can any one tell me what errors are caught at compile time vs link time?...


Go Back   Geeks Talk > Software Development > C and C++

Register FAQ Members List Calendar Mark Forums Read
  #1 (permalink)  
Old 06-28-2007
Junior Member
 
Join Date: Jun 2007
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
benyao is on a distinguished road
C++ compile time errors vs link time errors

can any one tell me what errors are caught at compile time vs link time?
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 06-29-2007
Junior Member
 
Join Date: Jun 2007
Location: India
Posts: 5
Thanks: 0
Thanked 2 Times in 1 Post
Nivrutti is on a distinguished road
Re: C++ compile time errors vs link time errors

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

No input files: GCC cannot find the source file.
Missing headers or libraries: GCC can't find header files/libraries.
Missing C++ headers: GCC can't find C++ header files.
C++ comments: Avoid C++ comments in C programs.
Which language: GCC resolves it by looking at filename extensions.
Objective C: Problems with Objective C compiler.
DJGPP-specific: How to write DJGPP-specific fragments.
Unresolved externals: Where are those library functions?
Which library: Which library has which functions?
Libraries order: Which libraries to put first?
Still unresolved: C++ misses complex and iostream functions.
djgpp_first_ctor: Why are these unresolved?
Large image: Static arrays bloat C++ program image.
Large executable: Why is DJGPP .EXE so large?
DJGPP and DLLs: Why don't we use DLLs to make programs smaller.
No EXE: Novell Netware fails STUBIFY.
Allegro and GRX: Problems building Allegro and GRX libraries.
NULL redefined:
Some C++ headers redefine NULL.
C++ exceptions: GCC before 2.8.1 doesn't support them.
Assembly output: How to generate assembly code with GCC.
movedata.h: This header triggers compiler errors.
Libraries: How to create object libraries.
No stubify: GCC can't find stubify.exe.

for more information follow this link

http://djgpp.linux-mirror.org/v2faq/faq8.html

Please correct me if I am wrong
Reply With Quote
Reply

  Geeks Talk > Software Development > C and C++


Thread Tools
Display Modes


Similar Threads

Thread Thread Starter Forum Replies Last Post
If we get 200 errors then how to justify Geek_Guest Testing Issues 1 06-20-2007 02:51 AM
Completed My Diploma as Full time and BE Degree as Part time Geek_Guest Career Advice 0 05-21-2007 05:02 PM
Errors after compilation Bhuvana07 Oracle 4 02-14-2007 06:32 AM
Find errors in SQR JobHelper PeopleSoft 1 01-26-2007 03:56 PM
Log of all errors sripri Web Design 0 08-03-2006 04:07 PM


All times are GMT -4. The time now is 02:05 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Copyright © 2008 GeekInterview.com. All Rights Reserved