1753458 Members
4825 Online
108794 Solutions
New Discussion юеВ

Re: AIX to HPUX porting

 
SOLVED
Go to solution
Gopal_2
Advisor

Re: AIX to HPUX porting

Thanks clay

When I place the flag +DAportable for any C++ file I get this.

Warning 336: Unknown position # Entire translation unit was empty.

Now for to abc.c. It had the standard warnings for the char * assignments like I have char *c
and c=" "; then it throws a warning and these are the kinda warnings I get.... and thats it and simply I have this linker error show up

Any guidance

Thanks

Gopal
Senior Engineer
Gopal_2
Advisor

Re: AIX to HPUX porting

Oopdoopeedooo

the +DAportable flag just all my source code 0 bytes in size.... No wonder I get no symbols or empty translation table.

I have no clue what just happened

Gopal
Senior Engineer
A. Clay Stephenson
Acclaimed Contributor

Re: AIX to HPUX porting

Ok,

I just tried a .C (c++) file with the +DAportable flag and it worked great.

Clay
If it ain't broke, I can fix that.
Gopal_2
Advisor

Re: AIX to HPUX porting

Ok Clay

I got the culprit. I am using the cpp to check for dependencies and send it thru the pre-processor. Now the cpp do not like the +DAportable at all and this has made me lose all my C files as the pre-processor thinks the +DAportable flag is a file and returns an error and my dependency program basically since re-write depndency and writes the file it wrote an empty file.... There you go I lost my code changes..

Did you use cpp??? If I am not passing thru cpp I am ok..

Any sights on this

Gopal
Senior Engineer