sublimetext3 - a warning message in building and running C in Sublime Text 3 -



sublimetext3 - a warning message in building and running C in Sublime Text 3 -

when build , run c using sublime text 3, warning message show up.

clang: warning: treating 'c' input 'c++' when in c++ mode, behavior deprecated

actually, first time utilize sublime text 3 c programming, wonder how take care of warning message.

my source code , output below.

soruce:

#include <stdio.h> int main(void) { int = 3; printf("%d\n", a); }

output:

clang: warning: treating 'c' input 'c++' when in c++ mode, behavior deprecated 3 [finished in 0.1s]

these executed in mavericks(mac os)

please allow me know solution.

does mean have saved file file.cpp instead of file.c? (sorry, can not comment, have few points.)

c sublimetext3

Comments

Popular posts from this blog

php - Android app custom user registration and login with cookie using facebook sdk -

c# - Create a Notification Object (Email or Page) At Run Time -- Dependency Injection or Factory -

Set Up Of Common Name Of SSL Certificate To Protect Plesk Panel -