{"action":"created","issue":{"url":"https://api.github.com/repos/trilinos/Trilinos/issues/882","repository_url":"https://api.github.com/repos/trilinos/Trilinos","labels_url":"https://api.github.com/repos/trilinos/Trilinos/issues/882/labels{/name}","comments_url":"https://api.github.com/repos/trilinos/Trilinos/issues/882/comments","events_url":"https://api.github.com/repos/trilinos/Trilinos/issues/882/events","html_url":"https://github.com/trilinos/Trilinos/issues/882","id":191767125,"number":882,"title":"Problem with clang-700.1.81 Trilinos develop config step","user":{"login":"spdomin","id":8699324,"avatar_url":"https://avatars.githubusercontent.com/u/8699324?v=3","gravatar_id":"","url":"https://api.github.com/users/spdomin","html_url":"https://github.com/spdomin","followers_url":"https://api.github.com/users/spdomin/followers","following_url":"https://api.github.com/users/spdomin/following{/other_user}","gists_url":"https://api.github.com/users/spdomin/gists{/gist_id}","starred_url":"https://api.github.com/users/spdomin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spdomin/subscriptions","organizations_url":"https://api.github.com/users/spdomin/orgs","repos_url":"https://api.github.com/users/spdomin/repos","events_url":"https://api.github.com/users/spdomin/events{/privacy}","received_events_url":"https://api.github.com/users/spdomin/received_events","type":"User","site_admin":false},"labels":[{"id":310381463,"url":"https://api.github.com/repos/trilinos/Trilinos/labels/Framework","name":"Framework","color":"bfd4f2","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-11-25T21:33:13Z","updated_at":"2016-11-26T05:12:53Z","closed_at":null,"body":"I am firing up my Clang (Mac) application builds after about three weeks of down time and now have a host of issues with the config step of Trilinos. Below are some snippets from my failed config which look suspicious, however, I am not really sure if these are the major problem or not:\r\n\r\n```\r\n/Users/naluIt/gitHubWork/nightlyBuildAndTest/Trilinos/build_nightly_release/CMakeFiles/CMakeTmp/src.cxx:12:34: note: insert an explicit cast to silence this issue\r\n  int seed[4] = { 0.0, 0.0, 0.0, 1.0 };\r\n                                 ^~~\r\n                                 static_cast<int>( )\r\n4 errors generated.\r\nmake[1]: *** [CMakeFiles/cmTryCompileExec2817964852.dir/src.cxx.o] Error 1\r\nmake: *** [cmTryCompileExec2817964852/fast] Error 2\r\n```\r\n\r\n```\r\n/Users/naluIt/gitHubWork/nightlyBuildAndTest/Trilinos/build_nightly_release/CMakeFiles/CMakeTmp/src.cxx:14:7: warning: comparison of function 'A::theFunction' not equal to a null pointer is always true [-Wtautological-pointer-compare]\r\n  if (A::theFunction != NULL) {\r\n\r\n```\r\n\r\n```\r\nLinking CXX executable cmTryCompileExec2441979721\r\n/usr/local/Cellar/cmake/3.1.0/bin/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec2441979721.dir/link.txt --verbose=1\r\n/usr/local/Cellar/open-mpi/1.8.4/bin/mpicxx     -std=c++11 -DHAVE_CXX_PRAGMA_WEAK -Wl,-search_paths_first -Wl,-headerpad_max_install_names  CMakeFiles/cmTryCompileExec2441979721.dir/src.cxx.o  -o cmTryCompileExec2441979721  \r\nUndefined symbols for architecture x86_64:\r\n  \"A::theFunction()\", referenced from:\r\n      _main in src.cxx.o\r\nld: symbol(s) not found for architecture x86_64\r\nclang: error: linker command failed with exit code 1 (use -v to see invocation)\r\nmake[1]: *** [cmTryCompileExec2441979721] Error 1\r\nmake: *** [cmTryCompileExec2441979721/fast] Error 2\r\n\r\nSource file was:\r\n\r\n#include <iostream>\r\n\r\nnamespace A {\r\n// theFunction never gets defined, because we\r\n// don't link with a library that defines it.\r\n// That's OK, because it's weak linkage.\r\n#pragma weak theFunction\r\nextern void theFunction ();\r\n}\r\n\r\n```"},"comment":{"url":"https://api.github.com/repos/trilinos/Trilinos/issues/comments/263044829","html_url":"https://github.com/trilinos/Trilinos/issues/882#issuecomment-263044829","issue_url":"https://api.github.com/repos/trilinos/Trilinos/issues/882","id":263044829,"user":{"login":"mhoemmen","id":926747,"avatar_url":"https://avatars.githubusercontent.com/u/926747?v=3","gravatar_id":"","url":"https://api.github.com/users/mhoemmen","html_url":"https://github.com/mhoemmen","followers_url":"https://api.github.com/users/mhoemmen/followers","following_url":"https://api.github.com/users/mhoemmen/following{/other_user}","gists_url":"https://api.github.com/users/mhoemmen/gists{/gist_id}","starred_url":"https://api.github.com/users/mhoemmen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mhoemmen/subscriptions","organizations_url":"https://api.github.com/users/mhoemmen/orgs","repos_url":"https://api.github.com/users/mhoemmen/repos","events_url":"https://api.github.com/users/mhoemmen/events{/privacy}","received_events_url":"https://api.github.com/users/mhoemmen/received_events","type":"User","site_admin":false},"created_at":"2016-11-26T05:12:53Z","updated_at":"2016-11-26T05:12:53Z","body":"@nmhamster Would you like a CMake test for square brackets attributes notation?  That may be a bit tricky, because different versions of the C++ standard support different attributes, and because only C++17 proposes that compilers should ignore attributes that they don't understand:\r\n\r\nhttp://en.cppreference.com/w/cpp/language/attributes\r\n\r\nHowever, we could easily test an attribute specified in C++11, like `[[noreturn]]`.  (`[[deprecated]]` requires C++14.)"}}
{"actor":{"display_login":"mhoemmen"}}