Sponsored Content
Top Forums Programming Is gcc compliant with the C++ standards Post 302339133 by hthapar on Wednesday 29th of July 2009 09:51:10 PM
Old 07-29-2009
Is gcc compliant with the C++ standards

Hello Friends,

I am a newbie and have started using different compilers and tools to make myself familiar with their workings. I wanted to know that how compliant is gcc with the C++ standards. It is pretty obvious that no compiler is close to being completely compliant, but if there are some things which are not according to the ANSI/ISO standard; what are they in gcc?

I will be very grateful if someone who is an expert user of gcc can answer this doubt of mine?

Regards.
 

8 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Standards

I have been asked to put together some coding standards for the project I am assigned to. I have found documented standards for C/C++, Java but was wondering if there is a good place for UNIX scripting (Korn/Bourne) standards? Does anyone know of a good place to find information on scripting... (3 Replies)
Discussion started by: google
3 Replies

2. Programming

UNIX version standards

I'm new to UNIX programming. I'm used to starting my program's versions at 1.0, but I look at all the UNIX programs out there and see things like 0.000.1 or 3.3.000 and I'm wondering what these things really mean. Do people just type anything they feel in there? Are things in pre-release... (6 Replies)
Discussion started by: hirni
6 Replies

3. Solaris

Security Standards...

Hi All, Thanks in advance for reading and any posts. I was wondering if anyone has come across or can recomend or has any security standards that we could implement. We are running production Oracle systems on Solaris 8 boxes (which are global). We are after security considerations... (4 Replies)
Discussion started by: B14speedfreak
4 Replies

4. Solaris

Installing gcc - recieve error message gcc : cannot execute

AIM- Install Oracle 11g on Solaris using VMWare Steps 1.Logged on as root 2.Created subfolders à /usr/local/bin & /usr/local/bin/gcc 3.Downloaded gcc & libiconv & unzipped them on my harddrive & burnt them on CD 4.Copied files from CD to /usr/local/bin/gcc 5.Terminal (root) à pkgadd -d... (8 Replies)
Discussion started by: Ackers
8 Replies

5. UNIX for Dummies Questions & Answers

Making times mysql compliant

I have the following file: Loc1,20080102,230100,0.5617,0.5617 Loc1,20080102,230400,0.5616,0.5616 Loc1,20080102,230700,0.5615,0.5615 Then I use the following code to turn the third column into something which to mysql has the time datatype: sed -i '' -e "s#,\(..\)\(..\)\(..\),#,\1:\2:\3,#"... (2 Replies)
Discussion started by: figaro
2 Replies

6. Shell Programming and Scripting

Logical expression in POSIX compliant Korn Shell

Hi, i want to check if a variable var1 is not a or b or c pseudo code: If NOT (var1 = a or var1 = b or var1 = c) then ... fi I want to use POSIX complaint Korn shell, and for string comparison For the following code, logical.sh #!/usr/bin/ksh var="j" echo "Var : $var" if ! { || ||... (12 Replies)
Discussion started by: ysrini
12 Replies

7. Shell Programming and Scripting

Q: Is SQRT(n) possible in a POSIX compliant shell? A: Yes within limits.

Hi all... This is just a fun project to see if it is possible to get a square root of a positive integer from 1 to 9200000 to 6 decimal places on a 64 bit architecture machine. It is coded around dash and the results show the values from 0 to 10000. Complex numbers can easily be catered for by... (3 Replies)
Discussion started by: wisecracker
3 Replies

8. OS X (Apple)

Generate a random number in a fully POSIX compliant shell, 'dash'...

Hi all... Apologies for any typos, etc... This took a while but it didn't beat me... Although there are many methods of generating random numbers in a POSIX shell this uses integer maths and a simple C source to create an executable to get epoch to microseconds accuracy if it is needed. I take... (8 Replies)
Discussion started by: wisecracker
8 Replies
COLORGCC(1)						      General Commands Manual						       COLORGCC(1)

NAME
colorgcc - colorization wrapper for gcc SYNOPSIS
colorgcc [OPTION]... [FILENAME]... DESCRIPTION
colorgcc acts as a wrapper around gcc(1) to ease reading its output by colorizing it. OPTIONS
Since colorgcc is a wrapper around gcc(1), it has the same command line options as gcc(1). USAGE
At your shell prompt, set your CC environment variable to 'colorgcc'. This may be done in several different ways, depending on what shell you use. In a Bourne-compatible shell (bash, ash, zsh, pdksh), type: export CC="colorgcc" In a C shell variant (csh, tcsh), type: setenv CC "colorgcc" Refer to your shell's documentation for more information on setting environment variables. FILES
/etc/colorgcc/colorgccrc System-wide configuration file for colorgccrc. $HOME/.colorgccrc Personal configuration file for colorgccrc. SEE ALSO
gcc(1), colorgccrc(5) HISTORY
Jan 15 2003: Initial version of this manual-page. REPORTING BUGS
Report bugs to <jmoyers@geeks.com> AUTHORS
Jamie Moyers <jmoyers@geeks.com> is the author of colorgcc. This manual page was written by Joe Wreschnig <piman@sacredchao.net>, and modified by David Weinehall <tao@debian.org>, for the Debian GNU/Linux system (but may be used by others). COPYRIGHT
Copyright (C) 2003 Jamie Moyers This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICU- LAR PURPOSE. Jan 15, 2003 COLORGCC(1)
All times are GMT -4. The time now is 02:38 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy