<tfoot id='tBCyj'></tfoot>

  • <i id='tBCyj'><tr id='tBCyj'><dt id='tBCyj'><q id='tBCyj'><span id='tBCyj'><b id='tBCyj'><form id='tBCyj'><ins id='tBCyj'></ins><ul id='tBCyj'></ul><sub id='tBCyj'></sub></form><legend id='tBCyj'></legend><bdo id='tBCyj'><pre id='tBCyj'><center id='tBCyj'></center></pre></bdo></b><th id='tBCyj'></th></span></q></dt></tr></i><div id='tBCyj'><tfoot id='tBCyj'></tfoot><dl id='tBCyj'><fieldset id='tBCyj'></fieldset></dl></div>
    1. <legend id='tBCyj'><style id='tBCyj'><dir id='tBCyj'><q id='tBCyj'></q></dir></style></legend>
    2. <small id='tBCyj'></small><noframes id='tBCyj'>

        <bdo id='tBCyj'></bdo><ul id='tBCyj'></ul>

        “警告:“__const_coal"部分已弃用"在 Mac OS 上将 Xcode 更新到最新版本后

        quot;warning: section quot;__const_coalquot; is deprecatedquot; error after updating Xcode to latest version on Mac OS(“警告:“__const_coal部分已弃用在 Mac OS 上将 Xcode 更新到最新版本后出错)

          <small id='4OS5e'></small><noframes id='4OS5e'>

                <bdo id='4OS5e'></bdo><ul id='4OS5e'></ul>
                <legend id='4OS5e'><style id='4OS5e'><dir id='4OS5e'><q id='4OS5e'></q></dir></style></legend>
                    <tbody id='4OS5e'></tbody>
                1. <tfoot id='4OS5e'></tfoot>
                  <i id='4OS5e'><tr id='4OS5e'><dt id='4OS5e'><q id='4OS5e'><span id='4OS5e'><b id='4OS5e'><form id='4OS5e'><ins id='4OS5e'></ins><ul id='4OS5e'></ul><sub id='4OS5e'></sub></form><legend id='4OS5e'></legend><bdo id='4OS5e'><pre id='4OS5e'><center id='4OS5e'></center></pre></bdo></b><th id='4OS5e'></th></span></q></dt></tr></i><div id='4OS5e'><tfoot id='4OS5e'></tfoot><dl id='4OS5e'><fieldset id='4OS5e'></fieldset></dl></div>
                2. 本文介绍了“警告:“__const_coal"部分已弃用"在 Mac OS 上将 Xcode 更新到最新版本后出错的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  在我将 Xcode 更新到最新版本并接受许可协议之前,我的 C++ 程序的 g++ 编译器运行良好.我也尝试使用 clang 而不是 g++ 进行编译,但出现错误.现在我收到一长串错误.任何人都知道出了什么问题?

                  My g++ compiler for C++ program was working fine until I updated my Xcode to the latest version and accepted the license agreement. I also tried compiling with clang instead of g++ but got errors. Now I get a long stream of errors. Anyone has an idea what is wrong?

                  Ivans-MacBook-Pro:CS6771A3-GenericDirectedWeightedGraph ivanteong$ g++ -std=c++14 -Wall -Werror -O2 -o test6 tests/test6.cpp
                  /var/folders/3d/hqly97ld37b1kd6wx9gjn2tc0000gn/T//ccZfBPvE.s:1:11: warning: section "__textcoal_nt" is deprecated
                          .section __TEXT,__textcoal_nt,coalesced,pure_instructions
                                   ^      ~~~~~~~~~~~~~
                  /var/folders/3d/hqly97ld37b1kd6wx9gjn2tc0000gn/T//ccZfBPvE.s:1:11: note: change section name to "__text"
                          .section __TEXT,__textcoal_nt,coalesced,pure_instructions
                                   ^      ~~~~~~~~~~~~~
                  /var/folders/3d/hqly97ld37b1kd6wx9gjn2tc0000gn/T//ccZfBPvE.s:211:11: warning: section "__textcoal_nt" is deprecated
                          .section __TEXT,__textcoal_nt,coalesced,pure_instructions
                                   ^      ~~~~~~~~~~~~~
                  /var/folders/3d/hqly97ld37b1kd6wx9gjn2tc0000gn/T//ccZfBPvE.s:211:11: note: change section name to "__text"
                          .section __TEXT,__textcoal_nt,coalesced,pure_instructions
                                   ^      ~~~~~~~~~~~~~
                  /var/folders/3d/hqly97ld37b1kd6wx9gjn2tc0000gn/T//ccZfBPvE.s:604:11: warning: section "__textcoal_nt" is deprecated
                          .section __TEXT,__textcoal_nt,coalesced,pure_instructions
                                   ^      ~~~~~~~~~~~~~
                  /var/folders/3d/hqly97ld37b1kd6wx9gjn2tc0000gn/T//ccZfBPvE.s:604:11: note: change section name to "__text"
                          .section __TEXT,__textcoal_nt,coalesced,pure_instructions
                                   ^      ~~~~~~~~~~~~~
                  

                  推荐答案

                  我在更新到 Xcode v8.0 时收到了完全相同的警告.但是,您不需要卸载 Xcode.相反,您需要设置活动开发者目录的路径:

                  I was getting the exact same warnings on updating to Xcode v8.0. However, you do not need to uninstall Xcode. Rather, you need to set the path of the active developer directory:

                  sudo xcode-select -s /Library/Developer/CommandLineTools
                  

                  这篇关于“警告:“__const_coal"部分已弃用"在 Mac OS 上将 Xcode 更新到最新版本后出错的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  本站部分内容来源互联网,如果有图片或者内容侵犯了您的权益,请联系我们,我们会在确认后第一时间进行删除!

                  相关文档推荐

                  Unable to access non-const member functions of objects in C++ std::set(无法访问 C++ std::set 中对象的非常量成员函数)
                  Constructing std::function argument from lambda(从 lambda 构造 std::function 参数)
                  STL BigInt class implementation(STL BigInt 类实现)
                  Sync is unreliable using std::atomic and std::condition_variable(使用 std::atomic 和 std::condition_variable 同步不可靠)
                  Move list element to the end in STL(在 STL 中将列表元素移动到末尾)
                  Why is overloading operatoramp;() prohibited for classes stored in STL containers?(为什么禁止对存储在 STL 容器中的类重载 operatoramp;()?)

                      <tfoot id='zKhBS'></tfoot>
                        <tbody id='zKhBS'></tbody>
                    1. <i id='zKhBS'><tr id='zKhBS'><dt id='zKhBS'><q id='zKhBS'><span id='zKhBS'><b id='zKhBS'><form id='zKhBS'><ins id='zKhBS'></ins><ul id='zKhBS'></ul><sub id='zKhBS'></sub></form><legend id='zKhBS'></legend><bdo id='zKhBS'><pre id='zKhBS'><center id='zKhBS'></center></pre></bdo></b><th id='zKhBS'></th></span></q></dt></tr></i><div id='zKhBS'><tfoot id='zKhBS'></tfoot><dl id='zKhBS'><fieldset id='zKhBS'></fieldset></dl></div>
                      • <bdo id='zKhBS'></bdo><ul id='zKhBS'></ul>
                          • <small id='zKhBS'></small><noframes id='zKhBS'>

                            <legend id='zKhBS'><style id='zKhBS'><dir id='zKhBS'><q id='zKhBS'></q></dir></style></legend>