Questions tagged [cc]

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].

cc
Filter by
Sorted by
Tagged with
0 votes
1 answer
509 views

Have 'make' not output "redirecting incorrect #include" warnings during CC/GCC build?

Is there any flag to get 'make' to not output "redirecting incorrect #include" messages during a CC/GCC building? I get that --disable-warnings-as-errors might do, but is there a more specific one? ...
DhP's user avatar
  • 316
0 votes
2 answers
376 views

Using make to compile code in c in terminal on Mac

I'm trying to learn to program in C and I'm getting used to compiling the code after writing it. I'm actually using K&R 2nd edition to start off and they use 'cc' to compile. I originally started ...
James Stuckey's user avatar
1 vote
1 answer
619 views

Undefined symbols for architecture x86_64 _cJSON trying to compile test app

I'm trying to compile using: cc -I ./curl-7.58.0/include/curl -I ./cJSON-master alexa_request_simple_demo.c and I'm getting the error stated in the title. Curl and cJSON both compile fine on my MBP. ...
John Smith's user avatar
  • 3,553
0 votes
2 answers
67 views

Issues while getting user input in SCO Unix OS

I face a strange issue while trying to get user input through my code. I am pretty sure that the issue is not with the code but related to OS like standard input stream (stdin) or something like that, ...
user7083883's user avatar
1 vote
1 answer
2k views

Linking unistd.h when using CC compiler (Solaris)

I need to link <unistd.h> in my program using CC compiler on Solaris. When I needed to link <math.h> or <curses.h> I just used Google to find -lm and -lcurses flags but this time ...
Ava's user avatar
  • 838
4 votes
1 answer
10k views

What ${CC} means in makefile?

I have makefile that uses ${CC} variable for compiler selection: ${CC} $(CFLAGS) aaa.cpp -o aaa.o During make ${CC} brings cc compiler. But there is no definition of ${CC} in whole makefile. How ...
vico's user avatar
  • 17.7k
0 votes
0 answers
65 views

NRPE on solaris 8

Hi there I was trying to install nrpe in solaris 8. I know that is very old hahah. But when I run ./configure, it shows me this. ./configure checking for a BSD-compatible install... ./install-sh -...
Jose Campos's user avatar
-1 votes
5 answers
66 views

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 ...
Romero Azzalini's user avatar
1 vote
0 answers
39 views

Cliclock CC Build Error 'undefined reference' [duplicate]

I'm trying to build cliclock on ubuntu 16.04 LTS when I had this error ~/Git/cliclock on  master took 7s ➜ make build clock.c CC -Wall -lcurses clock.c clock.c:17:21: fatal error: ncurses.h: No ...
AlKaef's user avatar
  • 11
1 vote
2 answers
88 views

template<> syntax required by Solaris CC, but forbidden by MSVC and GCC

I have the following code in the header file: template<typename A, typename B> class TemplateTest; template<> class TemplateTest<int, double> { public: float operator() (float ...
Jane2004's user avatar
1 vote
1 answer
167 views

Animate CC, creating a code for collectables

I haven't coded since Macromedia, and god things have changed. I'm at a steep learning curve and trying to get back into it. Im making a little flash game where the player collects tacos and the ...
theFoxtrotblues .Foxtrotblues's user avatar
1 vote
1 answer
9k views

C use of dirent.h

Final update- Answer is in the comments of the accepted answer. First of all I realize there are a lot of other answers to this question. I've been through most of them and this code is a combination ...
LBaelish's user avatar
  • 669
0 votes
0 answers
213 views

How to Send CC email on send by email in sale Quotation, Should I use different keyword for email cc?

I am Overloading the get_mail_values method of mail.compose.message. I have added email_cc field only and I am expecting the mail should go to both recipients. @api.multi def get_mail_values(self,...
Hitesh's user avatar
  • 1
-2 votes
1 answer
259 views

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 = ...
Ira Shyti's user avatar
  • 234
0 votes
0 answers
770 views

dtest.c:(.text+0xb65): undefined reference to `sqrt'

I am trying to install and run a mathematical library called PDSLin on my ubuntu 16.04 machine but I got the following error. It seems that there is no linking at all to any library I added. I ...
Nawal's user avatar
  • 77
0 votes
0 answers
2k views

gcc : unknown type name

I am trying to install a linear solver called PDSLin on ubuntu16.04 LTS machine. I installed all the dependencies but when running make for PDSLin I got those warnings and errors. I do not understand ...
Nawal's user avatar
  • 77
12 votes
2 answers
1k views

Valgrind macOs and error Syscall param msg->desc.port.name points to uninitialised byte(s)

I tried to run valgrind 3.13 and 3.14 (on macOs 10.12.6) in very simple project but I got strange error who I never got in my linux before. Very simple C program main.c: int main() { return (0); ...
Sacha Ifrah's user avatar
1 vote
1 answer
79 views

Using cc results in an error

I had been using the command cc to compile the C programs that I write. Recently, I installed drush and removed it again (right now, I am using a site local drush). After that, when I am trying to ...
Joel Joseph Reji's user avatar
0 votes
1 answer
291 views

Why Clang isn't generating any warnings for an incompatible casting?

I am trying to compile a simple code with gcc and clang. the gcc generates a warning for an incomparable casting (great!). However, clang didn't generate any warnings! I have passed the same arguments ...
DJJ's user avatar
  • 199
4 votes
2 answers
7k views

Laravel Mail send even if cc and bcc is null

I have mail send function in laravel public static function Compose($to,$cc,$bcc,$subject,$body) { // return $to; try { $data = [ 'body' =>...
Vishal Shetty's user avatar
0 votes
1 answer
236 views

YouTube Iframe Tags no longer display CC

It appears that an update adding widget_referrer was added to the YouTube API on June 12. The CC no longer shows up for my videos and the language in the settings no longer shows up. It works on ...
RandO's user avatar
  • 335
1 vote
2 answers
263 views

K&R exercise 1-8. I can get my code to work correctly

I searched but didn't find a solution. The program is supposed to count tabs, newlines and spaces. #include <stdio.h> int main(void) { int c,nl,tab,blank; tab = 0; blank = 0; ...
clawhammer1234's user avatar
2 votes
2 answers
59 views

Can I safely assume all (or most) "cc" supports "-Wall" on *nix systems?

I want to write in Makefile like this foo: foo.c $(CC) -o foo -Wall foo.c but I'm not sure if all cc implementations support -Wall.
pynexj's user avatar
  • 20.1k
0 votes
0 answers
627 views

Make error: I want the make file to use gcc compiler flags but originally it uses intel

I also tried make -icpc="CXX" make -icc="cc" gives the error. make: invalid option -- 'c' make: invalid option -- 'c' make: invalid option -- '=' make: invalid option -- 'c' ...
MadHatter's user avatar
  • 321
0 votes
0 answers
330 views

I have a makefile that should generate an output file from a set of files. make -icpc=cc sort of runs but the file is not generated

Basically I want to use GNU compiler instead of Intel. Output of the makefile has the following: # environment ISL_ROOT = /opt/shared/sw/x86_64-unknown-linux-gnu/isl/0.14-rhel6 ... ... ....
MadHatter's user avatar
  • 321
2 votes
1 answer
5k views

Animate CC HTML5/Canvas controling a nested MovieClip timeline with actionscript

I have a problem i can't seem to wrap my head around. In the Animate CC Canvas IDE I created a Movieclip with several frames and on each frame is another nested movieclip and ocasionally that also ...
sdenec's user avatar
  • 23
0 votes
1 answer
320 views

Meaning of unix v6 assembly code generated by cc compiler?

For example, below is a piece of C code and its assembly code generated by cc compiler. // C code (pre K&R C) foo(a, b) { int c, d; c = a; d = b; return c+d; } // ...
user avatar
1 vote
1 answer
783 views

Producing a.out with makefile and disable warning messages

Here are two separate questions. Firstly, is it possible to modify a makefile so that it produces a.out that is readable by GDB? Secondly, in a makefile, how to disable all the warning messages on ...
IPython's user avatar
  • 91
2 votes
5 answers
11k views

Error in C code error: expression is not assignable

I'm writing a function that is suppose to print out the description of a programs execution. A function in my program uses 0 as a signal for a base-10 numeric conversion. I would like my program to ...
Matt Hall's user avatar
  • 330
0 votes
0 answers
383 views

What gcc options to use to use the same standard than solaris cc -Xa

I need to move a large code base from Solaris to Linux. The C compiler has the Xa option which means that it uses the "ISO C plus K&R C compatibility extensions". There is a copy of the man page ...
Guillaume's user avatar
  • 5,517
1 vote
2 answers
192 views

Compiling Boost on solaris cc v5.8

I am trying to build Boost on a solaris system /tmp/boost_1_58_0> cc -V cc: Sun C 5.8 2005/10/13 usage: cc [ options] files. Use 'cc -flags' for details I checked on some of sites. On one of ...
raghu reddy's user avatar
0 votes
2 answers
918 views

During compiling, it fails at "cannot find -lexecinfo"

This is Slackware 14.1 Linux. During compiling it always fail at /usr/lib64/gcc/x86_64-slackware-linux/4.8.2/../../../../x86_64-slackware-linux/bin/ld: cannot find -lexecinfo Is there a library ...
BioRod's user avatar
  • 529
1 vote
1 answer
1k views

How to add CC recipient in Sendgrid v3?

Hello I need to add other "cc" recipients using the sendgrid v3 API in PHP. How do I do it? In the documentation they put the following code, but I find it insufficient, because I need to see how to ...
Luis's user avatar
  • 2,061
-3 votes
2 answers
5k views

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's user avatar
0 votes
1 answer
1k views

How to set multiple CC email recipients one message using webform in drupal 7

My website using webform in drupal 7 application. I have two queries I can added a list for To email recipients one message. Email will receiving all the recipients but mails sending individual. I ...
bhas kar's user avatar
0 votes
0 answers
480 views

Not found: Op type not registered 'SqrtGrad' when creating Tensorflow Graph on Android

As mentioned in the title, I am unable to create the Tensorflow graph from an imported model on Android using JNI. When attempting to run tensorflow::Status s = session->Create(graph_def);, the ...
Schlez's user avatar
  • 91
0 votes
1 answer
1k views

"TypeError: Error #1010: A term is undefined and has no properties" in AS3

I'm creating an Android game using Adobe Animate CC for our thesis, and every time I test my work, at first, it works fine, but when I go to the main game, there's an error appears: Error #1010: A ...
Cathreen's user avatar
0 votes
1 answer
848 views

Coverity scan error RW.UNDEFINED_IDENTIFIER when offsetof() is used

Coverity detects an undefined identifier while trying to calculate offset of a member in the structure. typedef struct A { uint8_t mem[10]; } A; size_t offset = offsetof(A, mem); // This line ...
0sn1s's user avatar
  • 1
1 vote
1 answer
230 views

Problems storing strings with scanf

I'm having problems with scanf in C. After reading other Stackoverflow posts on how to fix problems with scanf, I now know that scanf is not recommended, but I have to use it for a homework assignment....
T94j0's user avatar
  • 87
3 votes
0 answers
4k views

As a developer: how can I prevent the a browser from storing credit card data?

I am testing a Virtual Terminal application currently under development. I have noticed that the browser states that Automatic credit card filling is disabled because this form does not use a secure ...
A.Rdz's user avatar
  • 131
0 votes
1 answer
261 views

Would like to have an Adobe Animate CC banner ad to loop 2x

I'm working on a basic banner ad and would like it to loop 2x then stop. I can't figure it out. Any simple answers?
Brenda's user avatar
  • 1
4 votes
3 answers
411 views

getenv("cc") is returning NULL , why?

I am learning C and came across cc in the bash shell i.e. whenever I make my source files I see this command. Hence started to understand it,started with gcc --help but couldn't find cc option in ...
Naresh's user avatar
  • 379
0 votes
1 answer
511 views

Oracle Developer Studio in Ubuntu 14.04: Cannot find sys/cdefs.h when compiling

So I've just followed the instructions on Oracles site to install the tarfile version of Oracle Developer Studio 12.5. Testing the installation using: https://docs.oracle.com/cd/E37069_01/html/E37072/...
Craig's user avatar
  • 3
0 votes
0 answers
22 views

detect email sent js into mail html [duplicate]

when i send a mail to a list contacts of cc i want show/hide dynamically content for each particular email. i send a html mail, and i can put js and jquery ( i think). this would be the code: <p&...
Robert Blasco Villarroya's user avatar
2 votes
1 answer
600 views

On Solaris, are libraries compiled with gcc usable the same way as for libs generated with cc?

I am currently trying to compile libxml2 on Solaris. When I run the ./configure script provided with the sources, the gcc and g++ compilers are automatically used. However, I would like to use cc and ...
louisiuol's user avatar
  • 153
0 votes
1 answer
368 views

Compile Telegram source code error

When I compile telegram source code with Cygwin and NDK, get this error : D:/TMessagesProj/jni/./libyuv/source/row_gcc.cc: In function 'void libyuv::I422AlphaToARGBRow_SSSE3(const uint8*, const uint8*...
Mehran Abi.'s user avatar
1 vote
0 answers
852 views

math library and POSIX realtime extensions for Mac

Although more a novice I try to explain my problem. I am on a Mac and use command line to build the executable. The compiling command works successfully on Ubuntu. cc program.o file1.o file2.o ...
AjanO's user avatar
  • 443
0 votes
1 answer
267 views

How can I pass an Integer value from a .cc file to .tcl file, when using ns2?

I am counting packets using a variable in .cc file. Now, I want to get that value in my .tcl script, store it in some variable and perform some operation on it? How is that possible?
Developer's user avatar
  • 161
0 votes
1 answer
425 views

C++ program cannot find boost

I am trying to compile the MultiNEAT project (https://github.com/peter-ch/MultiNEAT). I have installed boost and boost-python, and it is located in /usr/local/Cellar/boost. I also edited ~/....
Excalibur's user avatar
  • 431
0 votes
1 answer
49 views

How do I print output in a certain way

I have written this code using LINQ query static public void BracesRule(String input) { //Regex for Braces string BracesRegex = @"\{|\}"; Dictionary<string, string>...
Ali's user avatar
  • 71