1829913 Members
3088 Online
109993 Solutions
New Discussion

Warning 7004

 
Nareen Gurnani
Occasional Advisor

Warning 7004

I'm getting the following compile-time warning when using aCC compiler:

Warning 7004: Exact position unknown; near ["/opt/aCC/include/SC/List.c", line
15]. # Debug information may be corrupt: 1 unresolvable reference (7004)

I have been trying to isolate the source of this warning, but haven't succeeded. It seems to be related to using virtual functions in base/derived classes. That is the closest I have come. It does not seem to be file-specific either, as it shows up in several places.

Anyone have any clues?
Appreciate any help I can get.
Thanks,
Nareen
7 REPLIES 7
Alex Glennie
Honored Contributor

Re: Warning 7004

Consider the following :

1. ensure you have the latests aCC patches installed first there are known/related issues which should be cured by them.

2. If the proble still occurs - try compiling wthout -g option if applicable ?

3. consider increasing maxdsize (for test purposes)
and compare the results ?

4. get in touch with HP support (unless someone else can help ?)
Nareen Gurnani
Occasional Advisor

Re: Warning 7004

I have the latest patches.
What is maxdsize? How would I change it?
Alex Glennie
Honored Contributor

Re: Warning 7004

maxdsize is a kernal parameter - you can increase it via SAM.

incidentally are you using the -g option ?
Nareen Gurnani
Occasional Advisor

Re: Warning 7004

Yes, I get the warning when I use -g0 or -g1.
I found this same warning by searching thru tech database back in 1998 that was fixed in a patch for 10.2 release. Maybe the problem has re-surfaced in 11.0.
Alex Glennie
Honored Contributor

Re: Warning 7004

Just found an doc that breaks down like this :

If you are using compiler version A.03.30 or higher I suspect that's exactly what it is.

The powers that be are aware of it (may 2001) and it looks like a patch should be arriving shortly.

Nareen Gurnani
Occasional Advisor

Re: Warning 7004

1) How do I check the compiler version I have?
2) What is the link to the document you found?
Alex Glennie
Honored Contributor

Re: Warning 7004

1. "what aCC" or swlist should reveal details

2. It's internal I'm affraid. !