cc is a common name for a C compiler executable or driver. It is the default for the $(CC) make variable. For email CC fields, please use [carbon-copy]. For Adobe CC, use [creative-cloud].
Questions tagged [cc]
290 questions
0
votes
1 answer
What does it mean "internal compiler error: storage failure" on UNIX?
I have to build an application on UNIX, Unixware 2.1.3, with a CCS compiler 3.0 and I keep having this error :
UX:acomp: ERROR: "//home/dino/treeit.h", line 32: internal compiler error: storage failure
*** Error code 1 (bu21)
UX:make: ERROR: fatal…

dryke
- 1
- 2
-1
votes
1 answer
Compiling a Class with GCC
Hey all im not sure if ive made a syntactical error hear but ive made a class and get this error when i try to compile it....
dining.h:7:1: error: unknown type name ‘class’
dining.h:7:17: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’…

Daniel Del Core
- 3,071
- 13
- 38
- 52
-1
votes
1 answer
Can anybody help me read this XML file and tell me what I am looking at
I need to be able to read what is on each row and column, for example what is on row D3, but am unsure how I can do this. I know it makes a spreadsheet but what is the code or language this is written in and how can I learn to read specific info…

1True Saxon
- 19
- 4
-1
votes
5 answers
3D pointer seg error
I want to stick 2D arrays in a 3D array together, first i defined the 3D array in the following way
int ***grid;
grid=new int **[number];
then I want to assign the 2D arrays to the 3D construct
for(i=0;i

Romero Azzalini
- 184
- 1
- 1
- 12
-1
votes
2 answers
Error while reading character using gets function
I am writing a string to a file. But only the first part of the string is only inserted to file. Others are missing. For eg: If I write "I Like Flowers", "I" is only written into file.
#include
int main()
{
char string[50];
…

jay
- 3,517
- 5
- 26
- 44
-1
votes
1 answer
What clang optimization flags should I apply to my OS X 10.5+ universal (i86/x64) binary?
Currently, I am compiling:
clang -Oz -g
But I would like to apply an -mtune and if possible an -march flag, and anything else that will be valid on all Intel architectures that OS X Leopard supports.
Specifically I am asking: which -mtune and…

mxcl
- 26,392
- 12
- 99
- 98
-1
votes
3 answers
Why this output from perror?
I never saw that before:
What is the bottom left corner above? The latest version of the program is
#include
#include
int main(int argc, char **argv)
{
int ch;
char file_name[25] = "/proc/scsi/scsi";
FILE *fp;
fp…

Niklas Rosencrantz
- 25,640
- 75
- 229
- 424
-1
votes
3 answers
how to install cc on mac os 10.8 without paying for developer program?
Several python libraries stopped working after upgrade to Mac OS 10.8. Attempt to re-install them through easy_install or pip brings error message "-bash: cc: command not found". XCode is installed. Attempt to install Command line tools for XCode…

earlyadopter
- 1,537
- 4
- 16
- 21
-2
votes
1 answer
why cc "real time" >> "real time"?
I am having a problem with c compiler
When compiling a simple hello world, user time is >>> real time.
Here the comparison of times between two machines.
It should be noted that the machine is not performing any other task, and the other operations…

caeycae
- 1,137
- 3
- 12
- 28
-2
votes
1 answer
suggest me when will the following warning occurs during compilation
temp....is used wrong in call to sprintf or snprintf.
If copying takes place bteween objects that overlap as a result of a call to sprintf() or snprintf(), results are undefined.

eklmp
- 201
- 3
- 9
-2
votes
1 answer
Python email send cc instead of bcc
We have written python code that sends emails.
Bcc is an array of 2 emails and there is no cc.
Even though there is no CC, the BCC emails are added as CC.
Here is the code:
bcc = "x, y"
response = self.connection.send_email(
source =…

Ira Shyti
- 224
- 1
- 3
-2
votes
1 answer
Flash: Function is triggered more than once
I am trying to make a little blackjack game.
I ran in to a problem, ant I cant find my mistake.
When you want an extra card the first round, you get one card. (You have to press a button to get it), but in the second round, when you click the button…

themrnjs
- 13
- 5
-2
votes
2 answers
Compile error in cc
At the very beggining of my main method I have
main(int argc, char *argv[]){
if(argc!=2){
printf("not enough arguments");
exit(-1);
}
/* rest of code */
}
But compiling with cc prints
line 11 } missing before int
line 12 argv undefined
line…

FoxeyYy
- 1
- 1
-3
votes
1 answer
What is the problem with the logic of the code?
I have been trying to solve this simple problem in C++ but every time I submit, it says wrong answer. I am pretty sure I have got the logic right. Any help is appreciated.
Question: Find the sum of distances between the inputted numbers.
Ex.…

ASHWIN
- 21
- 3
-3
votes
2 answers
How I open .s assembly file in Linux?
I wrote my c program add.c, then preprocessed with cpp, then compiled with CC to obtain an add.s file. Now I would like to open it to see the assembly code. Can't find a way to do it.

Gabriele Scarlatti
- 173
- 1
- 11