?
Solved

Compiling problem..

Posted on 1998-06-29
3
Medium Priority
?
211 Views
Last Modified: 2010-04-01
Does anybody know what the compiler is trying to tell me by that:

C:\democpp\Multipal.c(631) : error C4226: nonstandard extension used : 'huge' is an obsolete keyword
0
Comment
Question by:ssdjgru1
3 Comments
 
LVL 2

Accepted Solution

by:
rayb earned 100 total points
ID: 1166884
Huge refers to a now obsolete pointer type, from back in the days when we used to have to choose a memory model prior to beginning a new project.
0
 
LVL 1

Expert Comment

by:Booth882
ID: 1166885
it is saying that you cannot use huge any more.  It doesn't exist in this language.
0
 

Expert Comment

by:gramk
ID: 1166886
Windows 3.1 and DOS had different memory models like Tiny, Medium, Large, Huge etc. In these models, the memory was segmented into blocks of 64 KB known as 'segments' so that u have data segments, code segments etc. During those days, we used pointers of type 'far', 'near' etc to access the data in other segments . But now, Windows 95/NT have done away with all this stuff and so the compiler ignores keywords like 'huge', 'far', 'near' etc. It doesn't make any sense to the programs written for these OSs. Hence the message - 'huge' is an absolete keyword.

Thanx
0

Featured Post

[Webinar] Cloud and Mobile-First Strategy

Maybe you’ve fully adopted the cloud since the beginning. Or maybe you started with on-prem resources but are pursuing a “cloud and mobile first” strategy. Getting to that end state has its challenges. Discover how to build out a 100% cloud and mobile IT strategy in this webinar.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When writing generic code, using template meta-programming techniques, it is sometimes useful to know if a type is convertible to another type. A good example of when this might be is if you are writing diagnostic instrumentation for code to generat…
IntroductionThis article is the second in a three part article series on the Visual Studio 2008 Debugger.  It provides tips in setting and using breakpoints. If not familiar with this debugger, you can find a basic introduction in the EE article loc…
The viewer will learn how to user default arguments when defining functions. This method of defining functions will be contrasted with the non-default-argument of defining functions.
The viewer will learn how to clear a vector as well as how to detect empty vectors in C++.

829 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question