Solved

Compiling problem..

Posted on 1998-06-29
3
207 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 2

Accepted Solution

by:
rayb earned 50 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

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

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

Unlike C#, C++ doesn't have native support for sealing classes (so they cannot be sub-classed). At the cost of a virtual base class pointer it is possible to implement a pseudo sealing mechanism The trick is to virtually inherit from a base class…
Written by John Humphreys C++ Threading and the POSIX Library This article will cover the basic information that you need to know in order to make use of the POSIX threading library available for C and C++ on UNIX and most Linux systems.   [s…
The viewer will learn how to clear a vector as well as how to detect empty vectors in C++.
The viewer will be introduced to the technique of using vectors in C++. The video will cover how to define a vector, store values in the vector and retrieve data from the values stored in the vector.

726 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