c++11 - JSON format in Sublime Text 3 compiler build file -


i'm trying compile c++11 file in sublime text3 on mac os sierra json configuration, unfortunately print statements dont appear in 'compiled' text box.

{     "file_regex": "^(..[^:]*):([0-9]+):?([0-9]+)?:? (.*)$", //from c++ build file          "shell":true,     "shell_cmd": "g++ -std=c++11 \"${file}\" -o \"${file_path}/${file_base_name}\" 2>&1 >/dev/null | grep -v -e '^/var/folders/*' -e '^[[:space:]]*.section' -e '^[[:space:]]*^[[:space:]]*~*' && \"${file_path}/${file_base_name}\"",     "syntax" : "packages/user/cppoutput.tmlanguage", } 

-however print when "shell_cmd" replaced with

"shell_cmd": "g++ -std=c++11 \"${file}\" -o \"${file_path}/${file_base_name}\"  && \"${file_path}/${file_base_name}\"", 

-but compiler print out many various warnings read this

/var/folders/cj/1h3_84h56c9bgzt_ryhpf4940000gn/t//ccrbybrv.s:103:11: warning: section "__textcoal_nt" deprecated         .section __text,__textcoal_nt,coalesced,pure_instructions                  ^      ~~~~~~~~~~~~~ /var/folders/cj/1h3_84h56c9bgzt_ryhpf4940000gn/t//ccrbybrv.s:103:11: note: change section name "__text"         .section __text,__textcoal_nt,coalesced,pure_instructions ...and on , on 

how fix json file, , there other solutions? (i'd prefer fix syntax in json file, either way. thanks. understand, these warnings printed latest mac os (sierra).


Comments

Popular posts from this blog

PHP and MySQL WP -

android - InAppBilling registering BroadcastReceiver in AndroidManifest -

nginx - phpPgAdmin - log in works but I have to login again after clicking on any links -