Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

C compiling questions

Status
Not open for further replies.

DMMIG

Programmer
Jan 6, 2005
13
0
0
US
I am getting the following warnings, compiling C programs.

1)warning #2225-D: the format string ends before this argument

2)procedure main: warning #11013-D: Exceeding memory limits; some optimizations
skipped. There is no override.

Any help ?
 
Well it would help if you actually mentioned which OS and compiler you have.
We can't possibly guess from just a couple of error messages.

> warning #2225-D: the format string ends before this argument
I'm guessing there is a mis-match between a printf/scanf format string and the parameters (or lack thereof).
You know, messages come with line numbers, maybe start with that line.

> procedure main: warning #11013-D: Exceeding memory limits;
You've got a 100's of lines of code in main, and now it's time for you to split the function / file into separate modules?

--
 
I cleared the first error.

Can omebody explain the reason for the second message?
 
Salem,

This is the information.

HP-UX B.11.23 U ia64 0337606528 .

I did not see the same warning on
HP-UX B.11.00 U 9000/800 1168911567 .

Thanks,
Mallik.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top