Proc*C/C++ support for header files without .h extension.

Does Pro*C/C++ compiler suppport include files without .h extensions.??
The following code written in a .pc file, which is compilant to Standard C++ 5.0 standards when compiled with Pro*C/C++ compiler to generate a .cpp gives errors
#include<isotream>
int main()
std::cout << "Test";
return(1);
On compilation it gives following problems:
#include <iostream>
.........1
PCC-S-02015, unable to open include file
Standard C++ version 5.0 has all the include files without .h extension. Does any version of Pro*C/C++ support that?
Lata

The normal way to handle this is with the -I option on the compile line:
cc -I/usr/ucbinclude -c myprog.c ...
Is there a reason you can't use the -I option?

Similar Messages

  • Proc*C/C++ suport for include files without .h extensions

    We have written code C++ code which is Standard C++ ver 5.0 compilant. In this version of C++ compiler the files are without .h extensions. For example <iostream.h> is now to be reffered as <iostream>. We are facing problems in compiling this code with PCC compiler
    Sample Code:
    File test1.h
    #ifndef TEST1H
    #define TEST1H
    #include<iostream>
    #include<list>
    class test
    private:
    int i;
    public:
    int k;
    #endif
    File test1.pc
    #include <iostream>
    #include<test1.h>
    int main()
    int i;
    std::cout << "Enter a value :";
    std::cin >> i;
    std::cout << std::endl;
    return 0;
    When this code is compiled with Code=cpp CPP_SUFFIX=cpp PARSE=PARTIAL options we get the following errors
    Pro*C/C++: Release 8.1.5.0.0 - Production on Fri Feb 1 12:46:00 2002
    (c) Copyright 1999 Oracle Corporation. All rights reserved.
    System default option values taken from: /oracle8/app/oracle/product/8.1.5/precomp/admin/pcscfg.cfg
    Error at line 2, column 10 in file test1.pc
    #include <iostream>
    .........1
    PCC-S-02015, unable to open include file
    Error at line 3, column 9 in file test1.h
    #include<iostream>
    ........1
    PCC-S-02015, unable to open include file
    Error at line 4, column 9 in file test1.h
    #include<list>
    ........1
    PCC-S-02015, unable to open include file
    I guess so PCC compiler does not identify include files without .h extension.
    Lata

    Do you have the SUNWhea package on your system? This package contains the headers you seem to be missing. It's on the Solaris 8 CDROM 2 of 2. If you don't know how to add packages from the CDROM, look up "Adding and Removing Software After Installing Solaris 8" in the "Solaris 8 Advanced Installation Guide" on docs.sun.com.

  • OS X support for offline files

    Dear all,
    I have a mixed environment of workstations running both OS X and Windows that connect to file shares hosted on Windows file servers.  In order to be able to manage the storage space effectively, tape based archiving was implemented using Symantec's Enterprise Vault for File System Archiving.  EV and many other archiving solutions use the Windows Offline file attribute to mark a file that has been archived off and install a filter driver into Windows so that archived files can be recalled directly from Windows Explorer without requiring additional software (this is also known as a reparse point).  Please note that this is different from how Microsoft intended offline files to be used for synchronising between a roaming laptop and a network share (see KB 312717).
    OS X does not have any support for offline files natively, both for how Microsoft intended it to be used and for use with archiving software as a reparse point.  There are a couple of offerings on the market which add the required functionality to OS X, but recent updates to OS X have rendered these offerings non-functional:
    10.6.7 - I understand that Apple replaced the SMB/CIFS modules with their own code.  At this point, it no longer became possible to recall archived files using said software offerings, when connecting to a Windows file server via SMB.  See Apple bug ID 10836961.
    10.7.4 - a kernel update is included which means said software offerings are now not able to block the icon preview in Finder.  The icon preview in Finder causes archived material to be recalled which we do not want it to do (imagine the problem when using tape as the archiving platform - this will cause a huge recall job on the tape drives)
    This is going to cause significant difficulties as it effectively means that we can't use archiving with OS X to manage our storage costs. 
    I'm writing this as I'm hoping that someone will know of a product or solution that is able to work around the 2 difficulties noted above, or that someone from Apple is going to read this and realise that this is a serious problem.  The ideal that is required is to add support for the offline files, in particular reparse points, directly into OS X.
    Many thanks.
    A frustrated storage engineer.

    Hi Richard,
    We are looking at file archiving here and have the same potential issues. We haven't evaluated this product, but it claims to solve the problem:
    http://www.grouplogic.com/enterprise-file-sharing/mac-file-archiving-system/
    Good luck
    Mark

  • Why is there no support for RTF files in Pages?

    Why is there no support for RTF files in Pages?
    This is nuts!

    You are not alone.
    Actions speak louder than words, but Apple does manage to still distract many from what is self evident before them.
    I am astonished by those who swear that non-existent features, or features that pre-exist the current version make Pages 5.2 a major upgrade.
    An affect that does seem to wear off with familiarity, as each version of Pages 5 gets a boost in the App Store, only to see the disapproval rating surge back again.
    Pages was always one of the top purchases in the App Store, now it doesn't even rate.
    Peter

  • Is there any system level support for RAW files from an Olympus XZ-10 camera.  I use Lion and iPhoto version 9.4.2

    Is there any system level support for RAW files from an Olympus XZ-10 camera.  I use Lion and iPhoto version 9.4.2

    If there is I can not find it - Google provides a list of possible methods form Adobe and others
    LN

  • Color space support for png files

    kindly suggesting :
    color space support for png files, requiring the support (read/write) of the chunks: iCCP, cHRM, gAMA, sRGB

    Hi ChrisT,
    Thanks for the suggestion. I went to:
    http://h10025.www1.hp.com/ewfrf/wc/softwareCategory?os=4063&lc=en&cc=us&dlc=en&sw_lang=&product=4148...
    Which is the software update page for my model. I see 10 items under Software Solutions, 8 of which are just video tutorial updates, not actual application updates (and none of those are for the Photo App). The two application updates are:
    HP TouchSmart Recipe Box Application Update
    HP Support Assistant Application Update
    So, are you saying that PNG file types are supported in some versions of the Photo App and I don't have the correct version? Or in other words, what am I missing?
    Cheers,
    D

  • Support for Growing files (DNxHD wrapped in MXF) from EVS in Premiere Pro?

    We are using Premiere CC Pro on the Mac-plattform against a shared storage soulution. We need to be able to open growing files from an EVS system to edit soccer-highlights while the matches are still playing. The problem is that the codec is DNxHD 120 and the wrapper is MXF op1a. This works fine with a QT-wrapper, but not with a MXF-wrapper. It is not possible for us the change the wrapper on the EVS system, so we need to do something on the editing side. We have tested it, and confirmed that this works fine in Final Cut Pro and Avid, but we want to use Premiere Pro. Can you provide us with a solution? Please do not say that the solution is to use FCP... ;-) Thanks in advance for all help!

    Hi Peter!
    Latest version. Cc 2014 with all updates.
    Mac OSX 10.10.2 Yosemite.
    Error during opening. As soon as the file is closed, it opens fine.
    Mvh
    Marius Borge
    Sendt fra min iPhone
    Den 10. feb. 2015 kl. 18.40 skrev petergaraway <[email protected]<mailto:[email protected]>>:
    Support for Growing files (DNxHD wrapped in MXF) from EVS in Premiere Pro?
    created by petergaraway<https://forums.adobe.com/people/petergaraway> in Premiere Pro - View the full discussion<https://forums.adobe.com/message/7181513#7181513>

  • Where is Aperture support for raw files from Leica X Vario?

    Where is Aperture support for raw files from Leica X Vario?

    It doesn't appear to exist, at this time:
    http://www.apple.com/aperture/specs/raw.html

  • Feature request: Slideshow module support for video files

    I'm very excited about your MTS support!
    Feature request: Slide show module  support for video files...
    Say you have 10 takes to choose from. Are you able to almost like SLIDESHOW view the 10 clips full screen so you can decide, like a playlist? Or rate them as they play? It would also be great, like SLIDESHOW to be able to export a MP4 with a title, the 10 clips you are working with, and maybe add an end title and a song, just like SLIDESHOW.
    I have found editing stills like this in slideshow far faster than in any other editing program.
    Basically, I just need a fast means to view or export an MP4 of a set of video clips to review. You are almost there.
    great job!!!
    Max

    I was also disappointed that video is not supported in the slideshow module -I currently have to use another solution when I want stills mixed with videos, would be great to be ablo to keep it all in LR!

  • Please add support for MXF files created by Blackmagic Hyperdeck Studio

    We have a Hyperdeck Studio that records DNxHD220 files in a MXF wrapper. Right now it is not possible to import them into Premiere CS5.5.
    It would be great if Adobe would add support for those files.
    Regards
    NFact

    It's mostly users here in the forums.  Here's how to get Adobe to listen.
    https://www.adobe.com/cfusion/mmform/index.cfm?name=wishform

  • How to add support for new file type.

    Using the ESDK, I would like to add support for new file type ( a new extension). this new extension will function like any other non visual code editor but will have specific syntax highlighting, code folding and explorer.
    I am trying ot figure out if I need to create a new editor or use existing JDeveloper code editor and add support for new file type. Does anyone have a high level outline on how to do this using the ESDK that is specifically targeted at adding new file type support for a text based code editor?
    I have looked at the Samples and keep going in multipe directions. It would be cool if there was an example that was how add syntax higlighting for new file type.
    Thank you

    Brian, thank you. I looked at this extension and it answered a lot of questions for me. I was going in the right direction but needed a little help and bost of confidence, this is just what I needed. I created the LanguageSupport, LanguageModel, Addin, Node and TextDocument that are specific to the new file type. I was getting hung up on how to hook this into the JDevelpoer editor. I keep thinking I have to create a custom editor but it looks like I don't have to and it looks like I can associate this file support with the editor framwork, for version 10.1.3.2, with the following in the Addin Initilize() method.
    Recognizer.mapExtensionToClass(MY_EXTENSION, MyNode.class);
    CodeEditor.registerNodeType(MyNode.class, MY_EXTENSION);
    LanguageModule.registerModuleForFileType(new MyLanguageModule(), MY_EXTENSION);
    I have done this but still not able to recognize the new file type.
    At this point, I just want to be able to recognize the new file and display it's associated icon or display a messare to the message log. I put a System.out.println("test") in the Initilize() method of my addin. then I registered MyAddin in the extension.xml. JDeveloper sees this new extension and it is loaded but I have not been able to show the test message or display the new icon when I open the new file type.
    extension.xml
    <?xml version="1.0" encoding="windows-1252" ?>
    <extension xmlns="http://jcp.org/jsr/198/extension-manifest"
               id="teisaacs.jdev.myext.MyAddin" version="1.0.0" esdk-version="1.0"
               rsbundle-class="teisaacs.jdev.myext.resources.MyResBundle">
        <name rskey="EXTENSION_NAME">My Code Editor</name>
        <owner rskey="EXTENSION_OWNER">Me</owner>
        <dependencies>
            <import version="10.1.3">oracle.jdeveloper</import>
        </dependencies>
        <hooks>
            <jdeveloper-hook>
                <addins>
                    <addin>teisaacs.jdev.myext.MyEditorAddin</addin>
                </addins>
            </jdeveloper-hook>
            <feature-hook>
                <description>My Code Editor</description>
                <optional>true</optional>
            </feature-hook>
            <document-hook>
                <documents>
                    <by-suffix document-class="teisaacs.jdev.myext.model.MySourceDocument">
                        <suffix>my</suffix>
                        <suffix>MY</suffix>
                    </by-suffix>
                </documents>
            </document-hook>
            <editor-hook>
                <editors>
                    <editor editor-class="teisaacs.jdev.myext.editor.MyEditor">
                        <name rskey="EXTENSION_NAME">My Editor</name>
                    </editor>
                    <mappings>
                        <mapping document-class='teisaacs.jdev.myext.model.MySourceDocument">         
                            <open-with editor-class="teisaacs.jdev.myrext.editor.MyEditor"
                                       preferred="true"/>
                            <open-with editor-class="javax.ide.editor.CodeEditor"/>
                        </mapping>
                    </mappings>
                </editors>
            </editor-hook>
        </hooks>
    </extension>
    public class MyAddin implements Addin {
        public static final String MY_EXTENSION = "my";
        public void initialize() {
            System.out.println("MyEditor Constructor");
            new MyLanguageModule();
            Recognizer.mapExtensionToClass(MY_EXTENSION, MyNode.class);
            CodeEditor.registerNodeType(MyNode.class, MY_EXTENSION);
            LanguageModule.registerModuleForFileType(new MyLanguageModule(), MY_EXTENSION);
    }I have added and removed the editor hook along with many other modificaitons to the extension.xml but still not recognizing the new file extension.
    Todd

  • IOS Newsstand app, add support for .folio files

    Hello!
    We have an iOS Newsstand app to provide our issues to our clients, and we use a PDF reader.
    We would like to add support for .folio files in the app, by using a folio reader in our app.
    Searching around, I've only found the specifications for the .folio files and the Adobe Content Viewer app.
    Is it possible to have some more specific information on how we can make something like the Adobe Content Viewer app that we can integrate in our app?
    For example how we would parse the xml files, what views/controls to use (eg. UIWebview?) etc.
    Thank you very much!

    Neil let clear something:
    - After the .folio specification became public (with license off course) the "This really isn't possible to do" is not truth.
    I believe that what people need to know is that: "Are we allowed to build a viewer?" / "Does Adobe allow programmers to give it a go?"
    Before March this wasn't allowed but since the spec became public we all hope (and I believe Adobe too) that this format will have an industry standard acceptance - like the PDF. In this case many people will try to create  viewers, software, builders etc.
    The DPS is a great platform but VERY EXPENSIVE. Companies around the world have developed and are in a position to develop great experiences and great apps. Sharing the .folio is big and this is what we need to clear - and not the number of staff working on the DPS Viewer.
    Thank you in advanced.

  • How to open an InDesign file without .indd extension?

    Hi,
    I am trying to open an InDesign file which does not have the extension .indd.
    I can open the file from InDesign's File-> Open menu item. But if I try to open programmaticaly it says the file format is not supported.
    I tried using SDKLayoutHelper::OpenDocument and IDocumentCommands::CreateOpenCommand both gives the same error.
    Thanks,

    Thanks. My file was not proper. I am able to open the file without the extension.

  • Serving Text files without html extension as html pages

    I have a large site that has a number of legacy html files with no extensions. The site was running under 10.3 just fine. Just reinstalled 10.4 and now these pages are rendered as plain text in the browser.
    I've tried adding a blank entry in the extensions under the text/html mime/type setting but doing so creates an error which stops the server. I've got hundreds of these files stored for several years that I don't want to go back through and add a .html on the end of.
    How can I get the web server to treat a file without an extension as an html file?

    I know this isn't an answer to the question you're asking, but are you sure you want that behavior? There might be times where you want an extensionless file to be loaded as a plain text file. At the very least, it will help make your site more compatible.
    If all these files are collected in the same area on your system, it might be best to give them the .html extension.
    You can do this relatively painlessly with virtually any scripting language. I know I've even seen an AppleScript that will go through a batch and change the extension for you. You might want a modified one that will first check for the start/end HTML tags in the file first to make sure you're only changing HTML files. A quick Google search for scripting a filename change will probably yield lots of results (check Perl and PHP resource sites as well).

  • Feature request: Replaygain support for FLAC files

    Hi guys,
    When converting some of my mp3's to FLAC, I noticed that the REPLAY_GAIN_TRACK tags are not used by the Walkman app on my Z3C. It works perfectly for mp3 files though. This is a real obstacle for me as I do not like having to change the volume all the time when playing different kinds of music.
    So my request would be to extend the replaygain support to FLAC files. I think anyone who uses FLAC files would consider that a very welcome addition, and it should be really easy to do!

    No, the album art actually works for both mp3 and FLAC. What I'm referring to is the REPLAY_GAIN_TRACK tag that you can attach to your files (for mp3 you could use e.g. the program called mp3gain). This allows you to normalize the volume of each track to for instance 92dB. When you do this, you will find that each track plays at a pleasant loudness without having to change the volume all the time. Or to put it differently, if this tag is not supported (like for FLAC at the moment), then I'm listening to one track and when the next one starts it may be way louder or quieter, meaning I have to reach for my phone and change the volume. It really is a very nice feature to have, and since Sony has it working for mp3 it seems very easy to extend this support to FLAC as well.
    Are you having issues with album art though? Perhaps I could help you then.

Maybe you are looking for

  • IPhoto'09 version 8.1.2

    My MiniMac was bought the 7th of Oct 2010, but iLife was (to my surprice) not installed. So the 15th of Oct 2010 I bought iLife'09 and installed it in the new MiniMac. Now 2 weeks later I see in Apple Store that if you have a newly bought Mac (betwee

  • IMovie '11 hogs CPU and freezes

    I've been importing a few video files in iMovie (from local hard disk, not HD) and it has been taking over 1hr each time... for about 1hr movies. During each, activity monitor will show that iMovie is taking about 150% of CPU usage... never less than

  • Acrobat X Pro won't open not long after CS6 upgrade

    I upgraded to CS6 from CS4 just before the new year. I have been having problems with my computer being slow and noticed after installation that the 2 previous versions I had were still installed (silly me thought upgrades would just override these h

  • If my battery on my screen is an x what do i do

    what do i do if my battery is an x on my sreen and it wont turn on on the back but sometimes it goes green and then off

  • Page login custom

    hello a question. Me I can create a user login page? How about a table to verify users? that is, users are stored in a table that is called for example, users. not be saved in the table demo_users. You understand?