coopermaa / mongoose

Automatically exported from code.google.com/p/mongoose
MIT License
0 stars 0 forks source link

Compiler is g++ instead of gcc #332

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Download source using the recommended method:
hg clone https://code.google.com/p/mongoose/ mongoose_checkout
(The last directory name is mine)

2. cd mongoose_checkout
3. make linux

What is the expected output?
A clean build is expected

What do you see instead?
# make linux
g++ mongoose.c -shared -fPIC -fpic -o _mongoose.so -ldl -pthread -W -Wall 
-std=c99 -pedantic -O2
cc1plus: warning: command line option "-std=c99" is valid for C/ObjC but not 
for C++
g++ mongoose.c main.c -o mongoose -ldl -pthread -W -Wall -std=c99 -pedantic -O2
cc1plus: warning: command line option "-std=c99" is valid for C/ObjC but not 
for C++
cc1plus: warning: command line option "-std=c99" is valid for C/ObjC but not 
for C++

What version of the product are you using? On what operating system?
Checked out sources as of "Thu Mar 29 18:47:52 IST 2012"

Please provide any additional information below.

OS: CentOS 6.2 x86_64

Original issue reported on code.google.com by shantanu...@gmail.com on 29 Mar 2012 at 1:19

GoogleCodeExporter commented 8 years ago
Using gcc now.

Original comment by valenok on 23 Sep 2012 at 12:58