Article View: borland.public.cppbuilder.migration
Article #52what is a PACKAGE macro in msvc++ ?
From: JohnHammon
Date: Mon, 27 Sep 2004 20:52
Date: Mon, 27 Sep 2004 20:52
31 lines
1494 bytes
1494 bytes
In converting a small .lib / .h set written in msvc++, Borland keeps erroring on these sets of PACKAGE () . Can someone please tell me wht these are, and what their equivilent is in borland? Thank you very much. Example code: #ifndef PACKAGE #define PACKAGE(x) #define ENDPACKAGE(x) #endif PACKAGE(ImmutableTypes); #ifndef _TXTYPES_ // Our types follow typedef unsigned char byte; #if defined(_MSC_VER) typedef __int64 llong; typedef unsigned __int64 ullong; #else typedef long long llong; typedef unsigned long long ullong; #endif typedef unsigned int uint; typedef unsigned long ulong; typedef unsigned char uchar; typedef unsigned short ushort; #endif ENDPACKAGE(ImmutableTypes);
Technical Details
Message-ID:
<41587d9b$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.frii.net!newsfeed.frii.net!news.compaq.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Thread: 110f51,91e2df4a5ee254fd,start X-Google-Attributes: gid110f51,public X-Google-Language: ENGLISH,ASCII-7-bit From: "JohnHammon" <John@intek.com> Sender: "JohnHammon" <John@intek.com> Reply-To: "JohnHammon" <John@intek.com> Subject: what is a PACKAGE macro in msvc++ ? Newsgroups: borland.public.cppbuilder.migration X-User-Info: 65.41.25.67 NNTP-Posting-Host: 207.105.83.66 Message-ID: <41587d9b$1@newsgroups.borland.com> Date: 27 Sep 2004 13:52:43 -0700 X-Trace: newsgroups.borland.com 1096318363 207.105.83.66 (27 Sep 2004 13:52:43 -0700) Lines: 33 Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.frii.net!newsfeed.frii.net!news.compaq.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail