473,383 Members | 1,795 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,383 software developers and data experts.

Migrating generic.h to GNU GCC/G++

There is no generic.h with GNU, and specifically no name2() function
for me to substitute for in my ancient (1992) source code. If anyone
can specify or steer me in the right direction I would be very grateful
as I am just about stuck. I don't know if I will run into any other
generic.h problems beyond name2() so if you can suggest a "generic" way
to work around this problem, that would be super. Thanks.

Thank you!

May 22 '06 #1
3 3723
ca**********@gmail.com schrieb:
There is no generic.h with GNU, and specifically no name2() function
for me to substitute for in my ancient (1992) source code. If anyone
can specify or steer me in the right direction I would be very grateful
as I am just about stuck. I don't know if I will run into any other
generic.h problems beyond name2() so if you can suggest a "generic" way
to work around this problem, that would be super. Thanks.

Thank you!


That's easy:

//file generic.h

void name2()
{
}
Would you mind telling us what 'generic.h' and 'name2()' are ?

/S
--
Stefan Naewe
naewe.s_AT_atlas_DOT_de
May 22 '06 #2
ca**********@gmail.com wrote:
There is no generic.h with GNU, and specifically no name2() function
for me to substitute for in my ancient (1992) source code. If anyone
can specify or steer me in the right direction I would be very
grateful as I am just about stuck. I don't know if I will run into
any other generic.h problems beyond name2() so if you can suggest a
"generic" way to work around this problem, that would be super.
Thanks.


Have you tried the GCC-dedicated newsgroup: gnu.gcc.help? Please
always try a more specific (especially WRT products) forum first.

V
--
Please remove capital 'A's when replying by e-mail
I do not respond to top-posted replies, please don't ask
May 22 '06 #3
ca**********@gmail.com wrote:
There is no generic.h with GNU, and specifically no name2() function
for me to substitute for in my ancient (1992) source code. If anyone
can specify or steer me in the right direction I would be very grateful
as I am just about stuck. I don't know if I will run into any other
generic.h problems beyond name2() so if you can suggest a "generic" way
to work around this problem, that would be super. Thanks.

Thank you!


A little google searching turned up this:

The "generic.h" file used to be included with all C++ development
environments; it defined macros that were used to "glue" tokens
together to emulate the capabilities of templates. These macros had
names such as "name2", "declare", and "implement".

Convert the code to use templates perhaps??

Larry
May 22 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Zvika Glickman | last post by:
I'm migrating DB2 to ORACLE 9I. In the DB2 schema each table defined in diferrent tablespace. Few tablespaces are define on the same STOGROUP (there are few STOGROUP). It's a big db (few terra...
0
by: steve | last post by:
I am having huge problems migrating large db’s from one server to another. I use phpmyadmin to dump the data into a file, and then migrate it to my production server. Then I try to use this:...
1
by: Mark | last post by:
(I'm new to these groups, so I'm not sure which one to use ...) XHTML has been emabled in virtually all modern browsers. So is there any more need for the space before the closing tags in empty...
4
by: Bernardo Robelo | last post by:
Hi, I am interested in migrating Microsoft Access database to Postgres database. But I do not have idea of like initiating. Maybe some tool exists for this problem. Thanks you. Bernardo
6
by: Shai Levi | last post by:
Hi, I'm trying to migrate native c++ class to managed c++ class. The native class header definition looks as: class NativeClass { public: typedef void (CbFunc1)(int n,void* p);
3
by: BobRoyAce | last post by:
I would really appreciate recommendations for sources of materials on migrating ASP applications to ASP.NET (books, URL's, etc.). Also, is there a magazine that is particularly good for .NET stuff....
2
by: Don Rich | last post by:
Please share with me any ideas you may have for troubleshooting and resolving the subject problem. I can give more details as necessary. (Please advise if I should post this problem to a more...
34
by: subramanian100in | last post by:
Is there any difference between porting and migrating. Kindly explain
64
by: John | last post by:
Hello there, Im cursing my place of employment...and its taken me a month to realise it... The scenario: Ive just stepped into a role to migrate an access database to VB.Net. The access...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.