1825551 Members
2738 Online
109681 Solutions
New Discussion юеВ

Problems with compiler?

 
David Juan Alejo Marcos
Occasional Contributor

Problems with compiler?

Dear all,

I am trying to execute a c++ program in a HP-UX 11.11 machine.

this program worked finea couple months ago but now we have problems.

The problem is the function STRCMP, if I write this "Final = strcmp(Caracter, "\0");" does not work, I need to change in this way "if (Caracter[0] == 0) Final = 0;".

This is not a valid solution because I use srtcmp to compare "\n",...

I think our last machine was a HP-UX 11.0

Anyone can help me?

TIA,

David Juan Alejo.
2 REPLIES 2
Colin Topliss
Esteemed Contributor

Re: Problems with compiler?

Hi,

I know this will be a bore, and not terribly helpful, but the first thing to do is check that you have the latest compiler patches. I've just been working on something today and had problems compiling - fixed them by patching (not the same problem as yours though).

PHSS_26972 and PHSS_26973 would be a good place to start.
Steven E. Protter
Exalted Contributor

Re: Problems with compiler?

Take your application disks and install the latest version of the compilers.

Also make sure the March 2003 or December 2002 patch update is installed.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com