![]() |
|
|
|
|
|||||||
| High Level Programming Post questions about C, C++, Java, SQL, and other programming languages here. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Compile errors because of the ras.h file | morrisey | AIX | 2 | 04-11-2008 09:54 AM |
| rename a file to include the ip address | MrMac | UNIX for Dummies Questions & Answers | 10 | 11-12-2006 09:48 AM |
| Compile and dump errors to a text file | starstarting | UNIX for Dummies Questions & Answers | 6 | 10-23-2006 05:45 AM |
| How to include PDF file with spaces | lawadm1 | Shell Programming and Scripting | 1 | 05-19-2006 07:03 PM |
| compile xev on HPUX 10.20 - errors | lan | High Level Programming | 1 | 05-16-2002 09:22 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
|
|||
|
Not able to compile Pro*c file due - give errors and points to /usr/include/.. file
I am trying to compile the pro*C file but gives errors. It says it encountered "std" while it was expecting ; , = ( [
--------------------------------------------------- ps2@rmcmz src]$ $ORACLE_HOME/bin/proc tradewind/dataaccess/Blob.pcc Pro*C/C++: Release 10.2.0.3.0 - Production on Fri May 9 11:10:54 2008 Copyright (c) 1982, 2005, Oracle. All rights reserved. System default option values taken from: /oracle/oracle/product/10.2.0/db_1/precomp/admin/pcscfg.cfg Syntax error at line 55, column 11, file /usr/include/c++/3.3.4/clocale: Error at line 55, column 11 in file /usr/include/c++/3.3.4/clocale namespace std ..........1 PCC-S-02201, Encountered the symbol "std" when expecting one of the following: ; , = ( [ Error at line 0, column 0 in file tradewind/dataaccess/Blob.pcc PCC-F-02102, Fatal error while doing C preprocessing [ps2@rmcmz src]$ [ps2@rmcmz src]$ [ps2@rmcmz src]$ [ps2@rmcmz src]$ cat /usr/include/c++/3.3.4/clocale // -*- C++ -*- forwarding header. // Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002 // Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free // software; you can redistribute it and/or modify it under the // terms of the GNU General Public License as published by the // Free Software Foundation; either version 2, or (at your option) // any later version. // This library is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. // You should have received a copy of the GNU General Public License along // with this library; see the file COPYING. If not, write to the Free // Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, // USA. // As a special exception, you may use this file as part of a free software // library without restriction. Specifically, if other files instantiate // templates or use macros or inline functions from this file, or you compile // this file and link it with other files to produce an executable, this // file does not by itself cause the resulting executable to be covered by // the GNU General Public License. This exception does not however // invalidate any other reasons why the executable file might be covered by // the GNU General Public License. // // ISO C++ 14882: 18.2.2 Implementation properties: C library // /** @file clocale * This is a Standard C++ Library file. You should @c #include this file * in your programs, rather than any of the "*.h" implementation files. * * This is the C++ version of the Standard C Library header @c locale.h, * and its contents are (mostly) the same as that header, but are all * contained in the namespace @c std. */ #ifndef _CPP_CLOCALE #define _CPP_CLOCALE 1 #pragma GCC system_header #include <locale.h> // Get rid of those macros defined in <locale.h> in lieu of real functions. #undef setlocale #undef localeconv namespace std { using ::lconv; using ::setlocale; using ::localeconv; } #endif [ps2@rmcmz src]$ [ps2@rmcmz src]$ --------------------------------------------------- Thanks! Shafi |
|||
| Google UNIX.COM |
| Forum Sponsor | ||
|
|
| Thread Tools | |
| Display Modes | |
|
|