Issue in header file recognisation



Help for C/C++ for MVS, OS/390 C/C++, z/OS C/C++ and C/C++ Productivity Tools for OS/390

Issue in header file recognisation

Postby Dora ji » Wed Jul 17, 2013 12:55 pm

Hi all,

I am trying to include the header file named "jni'.

I have included it in system libraries.But while calling the header file in a code,i got an severe error as "The #include file <jni> is not found. "

How to resolve it??
Dora ji
 
Posts: 12
Joined: Sun Jul 07, 2013 11:12 pm
Has thanked: 0 time
Been thanked: 1 time

Re: Issue in header file recognisation

Postby Ed Goodman » Wed Jul 17, 2013 6:25 pm

Not much help, but I found a big discussion of the SEARCH and LSEARCH options in my C++ user guide. It talks about how the compiler finds included files.
Ed Goodman
 
Posts: 341
Joined: Thu Feb 24, 2011 12:05 am
Has thanked: 3 times
Been thanked: 17 times

Re: Issue in header file recognisation

Postby mwilliams » Tue Jul 30, 2013 8:54 am

Use the SEARCH option to specify system include files (as in #include <blah.h>)
and the LSEARCH option to specify your include files (as in #include “blah.h”)

Is this clear enough?
mwilliams
 
Posts: 11
Joined: Thu Feb 07, 2013 8:55 am
Has thanked: 0 time
Been thanked: 1 time


Return to C, C++

 


  • Related topics
    Replies
    Views
    Last post