32 "--show-symbol-table",
33 "--show-function-table",
46 "--string-abstraction",
55 "--compile_all_input",
56 "--no_compile_all_input",
67 "--reinitialize_workdir",
83 "--no_export_all_vtbl",
84 "--force_new_nothrow",
85 "--no_force_new_nothrow",
87 "--no_friend_injection",
91 "--no_implicit_include",
92 "--implicit_include_searches",
93 "--no_implicit_include_searches",
94 "--implicit_typename",
95 "--no_implicit_typename",
96 "--nonstd_qualifier_deduction",
97 "--no_nonstd_qualifier_deduction",
98 "--old_specializations",
99 "--no_old_specializations",
101 "--no_parse_templates",
110 "--depend_system_headers",
111 "--no_depend_system_headers",
126 "--remove_unneeded_entities",
127 "--no_remove_unneeded_entities",
128 "--alternative_tokens",
129 "--no_alternative_tokens",
138 "--exceptions_unwind",
139 "--no_exceptions_unwind",
141 "--no_export_all_vtbl",
142 "--export_defs_implicitly",
143 "--no_export_defs_implicitly",
144 "--extend_initializers",
145 "--no_extend_initializers",
149 "--loose_implicit_cast",
151 "--no_multibyte_chars",
152 "--narrow_volatile_bitfields",
155 "--signed_bitfields",
156 "--unsigned_bitfields",
160 "--unaligned_access",
161 "--no_unaligned_access",
188 "--brief_diagnostics",
189 "--no_brief_diagnostics",
191 "--wrap_diagnostics",
192 "--no_wrap_diagnostics",
194 "--arm_linux_configure",
212 "--pending_instantiations=",
214 "--default_extension=",
229 "--min_array_alignment=",
230 "--pointer_alignment=",
232 "--library_interface=",
245 "--arm_linux_config_file=",
248 "--configure_sysroot=",
249 "--configure_cpp_headers=",
250 "--configure_extra_includes=",
251 "--configure_extra_libraries="
278 std::find_if(list.cbegin(), list.cend(), [&](
const std::string &argument) {
279 return has_prefix(argument, option);
281 if(found == list.cend())
288 for(
int i=1; i<argc; i++)
290 if(strcmp(argv[i],
"-")==0 ||
293 args.push_back(argv[i]);
308 if(strlen(argv[i]) > prefix->size())
309 set(*prefix, std::string(argv[i], prefix->size(), std::string::npos));
315 set(*prefix, argv[i + 1]);
325 set(*prefix, std::string(argv[i], prefix->size(), std::string::npos));
329 std::cout <<
"Warning: uninterpreted armcc option '"