Closed LawranceXcl closed 1 year ago
So what happens? thks
I have no idea. You specified too many options. What happens if you use the following command line?
$ cd /home/xcl/code/demo/test_main_modules/c++/code_musing
$ ctags --options=NONE -o - -R
I try it,the result is as follows:
$(VERBOSE).SILENT build/Makefile /^$(VERBOSE).SILENT:$/;" t
CMAKE_AR build/CMakeFiles/3.5.1/CMakeCXXCompiler.cmake /^set(CMAKE_AR "\/usr\/bin\/ar")$/;" v
CMAKE_BUILD_TYPE CMakeLists.txt /^SET(CMAKE_BUILD_TYPE "Debug")$/;" v
CMAKE_CL_SHOWINCLUDES_PREFIX build/CMakeFiles/3.5.1/CMakeCXXCompiler.cmake /^ set(CMAKE_CL_SHOWINCLUDES_PREFIX "${CMAKE_CXX_CL_SHOWINCLUDES_PREFIX}")$/;" v
CMAKE_COMMAND build/Makefile /^CMAKE_COMMAND = \/usr\/bin\/cmake$/;" m
CMAKE_COMPILER_IS_CYGWIN build/CMakeFiles/3.5.1/CMakeCXXCompiler.cmake /^set(CMAKE_COMPILER_IS_CYGWIN )$/;" v
CMAKE_COMPILER_IS_GNUCXX build/CMakeFiles/3.5.1/CMakeCXXCompiler.cmake /^set(CMAKE_COMPILER_IS_GNUCXX 1)$/;" v
CMAKE_COMPILER_IS_MINGW build/CMakeFiles/3.5.1/CMakeCXXCompiler.cmake /^set(CMAKE_COMPILER_IS_MINGW )$/;" v
CMAKE_CROSSCOMPILING build/CMakeFiles/3.5.1/CMakeSystem.cmake /^set(CMAKE_CROSSCOMPILING "FALSE")$/;" v
CMAKE_CXX11_COMPILE_FEATURES build/CMakeFiles/3.5.1/CMakeCXXCompiler.cmake /^set(CMAKE_CXX11_COMPILE_FEATURES "cxx_alias_templates;cxx_alignas;cxx_alignof;cxx_attributes;cxx/;" v
CMAKE_CXX14_COMPILE_FEATURES build/CMakeFiles/3.5.1/CMakeCXXCompiler.cmake /^set(CMAKE_CXX14_COMPILE_FEATURES "cxx_aggregate_default_initializers;cxx_attribute_deprecated;cx/;" v
CMAKE_CXX98_COMPILE_FEATURES build/CMakeFiles/3.5.1/CMakeCXXCompiler.cmake /^set(CMAKE_CXX98_COMPILE_FEATURES "cxx_template_template_parameters")$/;" v
CMAKE_CXX_ABI_COMPILED build/CMakeFiles/3.5.1/CMakeCXXCompiler.cmake /^set(CMAKE_CXX_ABI_COMPILED TRUE)$/;" v
CMAKE_CXX_CL_SHOWINCLUDES_PREFIX build/CMakeFiles/3.5.1/CMakeCXXCompiler.cmake /^set(CMAKE_CXX_CL_SHOWINCLUDES_PREFIX "")$/;" v
CMAKE_CXX_COMPILER build/CMakeFiles/3.5.1/CMakeCXXCompiler.cmake /^set(CMAKE_CXX_COMPILER "\/usr\/bin\/c++")$/;" v
CMAKE_CXX_COMPILER_ABI build/CMakeFiles/3.5.1/CMakeCXXCompiler.cmake /^set(CMAKE_CXX_COMPILER_ABI "ELF")$/;" v
CMAKE_CXX_COMPILER_ARG1 build/CMakeFiles/3.5.1/CMakeCXXCompiler.cmake /^set(CMAKE_CXX_COMPILER_ARG1 "")$/;" v
CMAKE_CXX_COMPILER_ENV_VAR build/CMakeFiles/3.5.1/CMakeCXXCompiler.cmake /^set(CMAKE_CXX_COMPILER_ENV_VAR "CXX")$/;" v
CMAKE_CXX_COMPILER_ID build/CMakeFiles/3.5.1/CMakeCXXCompiler.cmake /^set(CMAKE_CXX_COMPILER_ID "GNU")$/;" v
CMAKE_CXX_COMPILER_ID build/CMakeFiles/main.dir/DependInfo.cmake /^set(CMAKE_CXX_COMPILER_ID "GNU")$/;" v
CMAKE_CXX_COMPILER_ID_RUN build/CMakeFiles/3.5.1/CMakeCXXCompiler.cmake /^set(CMAKE_CXX_COMPILER_ID_RUN 1)$/;" v
CMAKE_CXX_COMPILER_LOADED build/CMakeFiles/3.5.1/CMakeCXXCompiler.cmake /^set(CMAKE_CXX_COMPILER_LOADED 1)$/;" v
CMAKE_CXX_COMPILER_VERSION build/CMakeFiles/3.5.1/CMakeCXXCompiler.cmake /^set(CMAKE_CXX_COMPILER_VERSION "5.4.0")$/;" v
CMAKE_CXX_COMPILER_WORKS build/CMakeFiles/3.5.1/CMakeCXXCompiler.cmake /^set(CMAKE_CXX_COMPILER_WORKS TRUE)$/;" v
CMAKE_CXX_COMPILER_WRAPPER build/CMakeFiles/3.5.1/CMakeCXXCompiler.cmake /^set(CMAKE_CXX_COMPILER_WRAPPER "")$/;" v
CMAKE_CXX_COMPILE_FEATURES build/CMakeFiles/3.5.1/CMakeCXXCompiler.cmake /^set(CMAKE_CXX_COMPILE_FEATURES "cxx_template_template_parameters;cxx_alias_templates;cxx_alignas/;" v
CMAKE_CXX_FLAGS CMakeLists.txt /^set(CMAKE_CXX_FLAGS "-Wall") # 开启所有警告$/;" v
CMAKE_CXX_FLAGS CMakeLists.txt /^set(CMAKE_CXX_FLAGS "-g") # 调试信息$/;" v
CMAKE_CXX_FLAGS CMakeLists.txt /^set(CMAKE_CXX_FLAGS "-std=c++11") # c++11$/;" v
CMAKE_CXX_FLAGS_DEBUG CMakeLists.txt /^SET(CMAKE_CXX_FLAGS_DEBUG "$ENV{CXXFLAGS} -O0 -Wall -g2 -ggdb")$/;" v
CMAKE_CXX_FLAGS_DEBUG CMakeLists.txt /^set(CMAKE_CXX_FLAGS_DEBUG "-O0" ) # 调试包不优化$/;" v
CMAKE_CXX_FLAGS_RELEASE CMakeLists.txt /^SET(CMAKE_CXX_FLAGS_RELEASE "$ENV{CXXFLAGS} -O3 -Wall")$/;" v
CMAKE_CXX_FLAGS_RELEASE CMakeLists.txt /^set(CMAKE_CXX_FLAGS_RELEASE "-O2 -DNDEBUG " ) # release包优化$/;" v
CMAKE_CXX_IGNORE_EXTENSIONS build/CMakeFiles/3.5.1/CMakeCXXCompiler.cmake /^set(CMAKE_CXX_IGNORE_EXTENSIONS inl;h;hpp;HPP;H;o;O;obj;OBJ;def;DEF;rc;RC)$/;" v
CMAKE_CXX_IMPLICIT_LINK_DIRECTORIES build/CMakeFiles/3.5.1/CMakeCXXCompiler.cmake /^set(CMAKE_CXX_IMPLICIT_LINK_DIRECTORIES "\/usr\/lib\/gcc\/x86_64-linux-gnu\/5;\/usr\/lib\/x86_64/;" v
CMAKE_CXX_IMPLICIT_LINK_FRAMEWORK_DIRECTORIES build/CMakeFiles/3.5.1/CMakeCXXCompiler.cmake /^set(CMAKE_CXX_IMPLICIT_LINK_FRAMEWORK_DIRECTORIES "")$/;" v
CMAKE_CXX_IMPLICIT_LINK_LIBRARIES build/CMakeFiles/3.5.1/CMakeCXXCompiler.cmake /^set(CMAKE_CXX_IMPLICIT_LINK_LIBRARIES "stdc++;m;c")$/;" v
CMAKE_CXX_INCLUDE_REGEX_COMPLAIN build/CMakeFiles/CMakeDirectoryInformation.cmake /^set(CMAKE_CXX_INCLUDE_REGEX_COMPLAIN ${CMAKE_C_INCLUDE_REGEX_COMPLAIN})$/;" v
CMAKE_CXX_INCLUDE_REGEX_SCAN build/CMakeFiles/CMakeDirectoryInformation.cmake /^set(CMAKE_CXX_INCLUDE_REGEX_SCAN ${CMAKE_C_INCLUDE_REGEX_SCAN})$/;" v
CMAKE_CXX_LIBRARY_ARCHITECTURE build/CMakeFiles/3.5.1/CMakeCXXCompiler.cmake /^set(CMAKE_CXX_LIBRARY_ARCHITECTURE "x86_64-linux-gnu")$/;" v
CMAKE_CXX_LINKER_PREFERENCE build/CMakeFiles/3.5.1/CMakeCXXCompiler.cmake /^set(CMAKE_CXX_LINKER_PREFERENCE 30)$/;" v
CMAKE_CXX_LINKER_PREFERENCE_PROPAGATES build/CMakeFiles/3.5.1/CMakeCXXCompiler.cmake /^set(CMAKE_CXX_LINKER_PREFERENCE_PROPAGATES 1)$/;" v
CMAKE_CXX_PLATFORM_ID build/CMakeFiles/3.5.1/CMakeCXXCompiler.cmake /^set(CMAKE_CXX_PLATFORM_ID "Linux")$/;" v
CMAKE_CXX_SIMULATE_ID build/CMakeFiles/3.5.1/CMakeCXXCompiler.cmake /^set(CMAKE_CXX_SIMULATE_ID "")$/;" v
CMAKE_CXX_SIMULATE_VERSION build/CMakeFiles/3.5.1/CMakeCXXCompiler.cmake /^set(CMAKE_CXX_SIMULATE_VERSION "")$/;" v
CMAKE_CXX_SIZEOF_DATA_PTR build/CMakeFiles/3.5.1/CMakeCXXCompiler.cmake /^set(CMAKE_CXX_SIZEOF_DATA_PTR "8")$/;" v
CMAKE_CXX_SOURCE_FILE_EXTENSIONS build/CMakeFiles/3.5.1/CMakeCXXCompiler.cmake /^set(CMAKE_CXX_SOURCE_FILE_EXTENSIONS C;M;c++;cc;cpp;cxx;mm;CPP)$/;" v
CMAKE_CXX_STANDARD CMakeLists.txt /^set(CMAKE_CXX_STANDARD 11)$/;" v
CMAKE_CXX_STANDARD_COMPUTED_DEFAULT build/CMakeFiles/3.5.1/CMakeCXXCompiler.cmake /^set(CMAKE_CXX_STANDARD_COMPUTED_DEFAULT "98")$/;" v
CMAKE_CXX_STANDARD_REQUIRED CMakeLists.txt /^set(CMAKE_CXX_STANDARD_REQUIRED ON)$/;" v
CMAKE_CXX_TARGET_INCLUDE_PATH build/CMakeFiles/main.dir/DependInfo.cmake /^set(CMAKE_CXX_TARGET_INCLUDE_PATH$/;" v
CMAKE_C_INCLUDE_REGEX_COMPLAIN build/CMakeFiles/CMakeDirectoryInformation.cmake /^set(CMAKE_C_INCLUDE_REGEX_COMPLAIN "^$")$/;" v
CMAKE_C_INCLUDE_REGEX_SCAN build/CMakeFiles/CMakeDirectoryInformation.cmake /^set(CMAKE_C_INCLUDE_REGEX_SCAN "^.*$")$/;" v
CMAKE_DEPENDS_CHECK_CXX build/CMakeFiles/main.dir/DependInfo.cmake /^set(CMAKE_DEPENDS_CHECK_CXX$/;" v
CMAKE_DEPENDS_GENERATOR build/CMakeFiles/Makefile.cmake /^set(CMAKE_DEPENDS_GENERATOR "Unix Makefiles")$/;" v
CMAKE_DEPENDS_LANGUAGES build/CMakeFiles/main.dir/DependInfo.cmake /^set(CMAKE_DEPENDS_LANGUAGES$/;" v
CMAKE_DEPEND_INFO_FILES build/CMakeFiles/Makefile.cmake /^set(CMAKE_DEPEND_INFO_FILES$/;" v
CMAKE_FORCE_UNIX_PATHS build/CMakeFiles/CMakeDirectoryInformation.cmake /^set(CMAKE_FORCE_UNIX_PATHS 1)$/;" v
CMAKE_Fortran_TARGET_MODULE_DIR build/CMakeFiles/main.dir/DependInfo.cmake /^set(CMAKE_Fortran_TARGET_MODULE_DIR "")$/;" v
CMAKE_HOST_SYSTEM build/CMakeFiles/3.5.1/CMakeSystem.cmake /^set(CMAKE_HOST_SYSTEM "Linux-4.15.0-96-generic")$/;" v
CMAKE_HOST_SYSTEM_NAME build/CMakeFiles/3.5.1/CMakeSystem.cmake /^set(CMAKE_HOST_SYSTEM_NAME "Linux")$/;" v
CMAKE_HOST_SYSTEM_PROCESSOR build/CMakeFiles/3.5.1/CMakeSystem.cmake /^set(CMAKE_HOST_SYSTEM_PROCESSOR "x86_64")$/;" v
CMAKE_HOST_SYSTEM_VERSION build/CMakeFiles/3.5.1/CMakeSystem.cmake /^set(CMAKE_HOST_SYSTEM_VERSION "4.15.0-96-generic")$/;" v
CMAKE_INSTALL_COMPONENT build/cmake_install.cmake /^ set(CMAKE_INSTALL_COMPONENT "${COMPONENT}")$/;" v
CMAKE_INSTALL_COMPONENT build/cmake_install.cmake /^ set(CMAKE_INSTALL_COMPONENT)$/;" v
CMAKE_INSTALL_CONFIG_NAME build/cmake_install.cmake /^ set(CMAKE_INSTALL_CONFIG_NAME "Debug")$/;" v
CMAKE_INSTALL_MANIFEST build/cmake_install.cmake /^ set(CMAKE_INSTALL_MANIFEST "install_manifest.txt")$/;" v
CMAKE_INSTALL_MANIFEST build/cmake_install.cmake /^ set(CMAKE_INSTALL_MANIFEST "install_manifest_${CMAKE_INSTALL_COMPONENT}.txt")$/;" v
CMAKE_INSTALL_PREFIX build/cmake_install.cmake /^ set(CMAKE_INSTALL_PREFIX "\/usr\/local")$/;" v
CMAKE_INSTALL_SO_NO_EXE build/cmake_install.cmake /^ set(CMAKE_INSTALL_SO_NO_EXE "1")$/;" v
CMAKE_INTERNAL_PLATFORM_ABI build/CMakeFiles/3.5.1/CMakeCXXCompiler.cmake /^ set(CMAKE_INTERNAL_PLATFORM_ABI "${CMAKE_CXX_COMPILER_ABI}")$/;" v
CMAKE_LIBRARY_ARCHITECTURE build/CMakeFiles/3.5.1/CMakeCXXCompiler.cmake /^ set(CMAKE_LIBRARY_ARCHITECTURE "x86_64-linux-gnu")$/;" v
CMAKE_LINKER build/CMakeFiles/3.5.1/CMakeCXXCompiler.cmake /^set(CMAKE_LINKER "\/usr\/bin\/ld")$/;" v
CMAKE_MAKEFILE_DEPENDS build/CMakeFiles/Makefile.cmake /^set(CMAKE_MAKEFILE_DEPENDS$/;" v
CMAKE_MAKEFILE_OUTPUTS build/CMakeFiles/Makefile.cmake /^set(CMAKE_MAKEFILE_OUTPUTS$/;" v
CMAKE_MAKEFILE_PRODUCTS build/CMakeFiles/Makefile.cmake /^set(CMAKE_MAKEFILE_PRODUCTS$/;" v
CMAKE_RANLIB build/CMakeFiles/3.5.1/CMakeCXXCompiler.cmake /^set(CMAKE_RANLIB "\/usr\/bin\/ranlib")$/;" v
CMAKE_RELATIVE_PATH_TOP_BINARY build/CMakeFiles/CMakeDirectoryInformation.cmake /^set(CMAKE_RELATIVE_PATH_TOP_BINARY "\/home\/xcl\/code\/demo\/test_main_module\/c++\/code_musing\//;" v
CMAKE_RELATIVE_PATH_TOP_SOURCE build/CMakeFiles/CMakeDirectoryInformation.cmake /^set(CMAKE_RELATIVE_PATH_TOP_SOURCE "\/home\/xcl\/code\/demo\/test_main_module\/c++\/code_musing"/;" v
CMAKE_SIZEOF_VOID_P build/CMakeFiles/3.5.1/CMakeCXXCompiler.cmake /^ set(CMAKE_SIZEOF_VOID_P "${CMAKE_CXX_SIZEOF_DATA_PTR}")$/;" v
CMAKE_SOURCE_DIR build/Makefile /^CMAKE_SOURCE_DIR = \/home\/xcl\/code\/demo\/test_main_module\/c++\/code_musing$/;" m
CMAKE_SYSTEM build/CMakeFiles/3.5.1/CMakeSystem.cmake /^set(CMAKE_SYSTEM "Linux-4.15.0-96-generic")$/;" v
CMAKE_SYSTEM_LOADED build/CMakeFiles/3.5.1/CMakeSystem.cmake /^set(CMAKE_SYSTEM_LOADED 1)$/;" v
CMAKE_SYSTEM_NAME build/CMakeFiles/3.5.1/CMakeSystem.cmake /^set(CMAKE_SYSTEM_NAME "Linux")$/;" v
CMAKE_SYSTEM_PROCESSOR build/CMakeFiles/3.5.1/CMakeSystem.cmake /^set(CMAKE_SYSTEM_PROCESSOR "x86_64")$/;" v
CMAKE_SYSTEM_VERSION build/CMakeFiles/3.5.1/CMakeSystem.cmake /^set(CMAKE_SYSTEM_VERSION "4.15.0-96-generic")$/;" v
CMAKE_TARGET_LINKED_INFO_FILES build/CMakeFiles/main.dir/DependInfo.cmake /^set(CMAKE_TARGET_LINKED_INFO_FILES$/;" v
CYGWIN build/CMakeFiles/3.5.1/CMakeCXXCompiler.cmake /^ set(CYGWIN 1)$/;" v
EQUALS build/Makefile /^EQUALS = =$/;" m
MINGW build/CMakeFiles/3.5.1/CMakeCXXCompiler.cmake /^ set(MINGW 1)$/;" v
RM build/Makefile /^RM = \/usr\/bin\/cmake -E remove -f$/;" m
SHELL build/Makefile /^SHELL = \/bin\/sh$/;" m
SUFFIXES build/Makefile /^SUFFIXES =$/;" m
UNIX build/CMakeFiles/3.5.1/CMakeCXXCompiler.cmake /^ set(UNIX 1)$/;" v
all build/Makefile /^all: cmake_check_build_system$/;" t
clean build/Makefile /^clean:$/;" t
clean/fast build/Makefile /^clean\/fast: clean$/;" t
cmake_check_build_system build/Makefile /^cmake_check_build_system:$/;" t
cmake_force build/Makefile /^cmake_force:$/;" t
default_target build/Makefile /^default_target: all$/;" t
depend build/Makefile /^depend:$/;" t
edit_cache build/Makefile /^edit_cache:$/;" t
edit_cache/fast build/Makefile /^edit_cache\/fast: edit_cache$/;" t
help build/Makefile /^help:$/;" t
main CMakeLists.txt /^add_executable(main main.cpp)$/;" t
main CMakeLists.txt /^project(main LANGUAGES CXX)$/;" p
main build/Makefile /^main: cmake_check_build_system$/;" t
main.cpp.i build/Makefile /^main.cpp.i:$/;" t
main.cpp.o build/Makefile /^main.cpp.o:$/;" t
main.cpp.s build/Makefile /^main.cpp.s:$/;" t
main.i build/Makefile /^main.i: main.cpp.i$/;" t
main.o build/Makefile /^main.o: main.cpp.o$/;" t
main.s build/Makefile /^main.s: main.cpp.s$/;" t
main/fast build/Makefile /^main\/fast:$/;" t
preinstall build/Makefile /^preinstall: all$/;" t
preinstall/fast build/Makefile /^preinstall\/fast:$/;" t
rebuild_cache build/Makefile /^rebuild_cache:$/;" t
rebuild_cache/fast build/Makefile /^rebuild_cache\/fast: rebuild_cache$/;" t
@masatake
Looks strange.
How about next one?
$ cd /home/xcl/code/demo/test_main_modules/c++/code_musing
$ ctags --options=NONE -o - --verbose main.cpp
@masatake not tags file generated yet, but it seems to be working!
tags
is not generated. It is o.k. -o -
option for printing tags to stdout.
Could you try the following command lines?
$ cat > input.cpp <<EOF
int main(void) { return 0; }
EOF
$ ctags --options=NONE --verbose -o - input.cpp
In addition, I would like to see the output of:
$ cd /home/xcl/code/demo/test_main_modules/c++/code_musing
$ od -A x -t x1z -v < main.cpp | head -20
the result is as follows:
ctags: Notice: No options will be read from files or environment
Installing parsers: UniversalCtags, Unknown, CTagsSelfTest, Abaqus, Abc, Ada, Ant, Asciidoc, Asm, Asp, Autoconf, AutoIt, Automake, Awk, Basic, Bats, BETA, BibTeX, Clojure, CMake, C, C++, CPreProcessor, CSS, C#, Ctags, Cobol, CobolFree, CobolVariable, CUDA, D, Diff, DTD, DTS, DosBatch, Eiffel, Elixir, EmacsLisp, Erlang, Falcon, Flex, Fortran, FrontMatter, FunctionParameters, Fypp, Gdbinit, GDScript, GemSpec, Go, GPerf, Haskell, Haxe, HTML, Iniconf, Inko, IPythonCell, ITcl, Java, JavaProperties, JavaScript, JSON, Julia, Kconfig, LdScript, LEX, Lisp, LiterateHaskell, Lua, M4, Man, Make, Markdown, MatLab, Meson, MesonOptions, Moose, Myrddin, NSIS, ObjectiveC, OldC++, OldC, OCaml, Org, Passwd, Pascal, Perl, Perl6, PHP, Pod, PowerShell, Protobuf, PuppetManifest, Python, PythonLoggingConfig, QemuHX, QtMoc, Quarto, RMarkdown, R, Rake, R6Class, RSpec, REXX, Robot, RpmMacros, RpmSpec, ReStructuredText, Ruby, Rust, S4Class, Scheme, SCSS, Sh, SLang, SML, SQL, SystemdUnit, SystemTap, Tcl, TclOO, Terraform, TerraformVariables, Tex, TeXBeamer, TTCN, Txt2tags, TypeScript, Vera, Verilog, SystemVerilog, VHDL, Vim, WindRes, YACC, YumRepo, Zephir, Zsh, DBusIntrospect, Glade, Maven2, PlistXML, RelaxNG, SVG, XML, XSLT, Varlink, Kotlin, Thrift, Elm
link dependencies: type = SUBPARSER, upper = XML, lower = Ant
link dependencies: type = SUBPARSER, upper = M4, lower = Autoconf
link dependencies: type = SUBPARSER, upper = Make, lower = Automake
link dependencies: type = SUBPARSER, upper = Sh, lower = Bats
link dependencies: type = KIND_OWNER, upper = C, lower = C++
link dependencies: type = KIND_OWNER, upper = C, lower = CUDA
link dependencies: type = SUBPARSER, upper = Perl, lower = FunctionParameters
link dependencies: type = SUBPARSER, upper = Ruby, lower = GemSpec
link dependencies: type = SUBPARSER, upper = Python, lower = IPythonCell
link dependencies: type = SUBPARSER, upper = Tcl, lower = ITcl
link dependencies: type = SUBPARSER, upper = Perl, lower = Moose
link dependencies: type = SUBPARSER, upper = Iniconf, lower = PythonLoggingConfig
link dependencies: type = SUBPARSER, upper = C++, lower = QtMoc
link dependencies: type = SUBPARSER, upper = Markdown, lower = Quarto
link dependencies: type = SUBPARSER, upper = Markdown, lower = RMarkdown
link dependencies: type = SUBPARSER, upper = Ruby, lower = Rake
link dependencies: type = SUBPARSER, upper = R, lower = R6Class
link dependencies: type = SUBPARSER, upper = Ruby, lower = RSpec
link dependencies: type = FOREIGNER, upper = RpmSpec, lower = Autoconf
link dependencies: type = SUBPARSER, upper = R, lower = S4Class
link dependencies: type = SUBPARSER, upper = Iniconf, lower = SystemdUnit
link dependencies: type = SUBPARSER, upper = Tcl, lower = TclOO
link dependencies: type = FOREIGNER, upper = TerraformVariables, lower = Terraform
link dependencies: type = SUBPARSER, upper = Tex, lower = TeXBeamer
link dependencies: type = SUBPARSER, upper = Iniconf, lower = YumRepo
link dependencies: type = SUBPARSER, upper = XML, lower = DBusIntrospect
link dependencies: type = SUBPARSER, upper = XML, lower = Glade
link dependencies: type = SUBPARSER, upper = XML, lower = Maven2
link dependencies: type = SUBPARSER, upper = XML, lower = PlistXML
link dependencies: type = SUBPARSER, upper = XML, lower = RelaxNG
link dependencies: type = SUBPARSER, upper = XML, lower = SVG
link dependencies: type = SUBPARSER, upper = XML, lower = XSLT
link dependencies: type = FOREIGNER, upper = Thrift, lower = C++
Setting option defaults
Setting default header extensions: h, H, hh, hpp, hxx, h++, inc, def
Installing default language mappings:
UniversalCtags:
Unknown:
CTagsSelfTest:
Abaqus: .inp
Abc: (*.abc) .abc
Ada: .adb .ads .Ada .ada
Ant: (build.xml) .build.xml .ant .xml
Asciidoc: (*.asc) (*.adoc) (*.asciidoc) .asc .adoc .asciidoc
Asm: (*.A51) (*.29[kK]) (*.[68][68][kKsSxX]) (*.[xX][68][68]) .asm .ASM .s .S
Asp: .asp .asa
Autoconf: (configure.in) .ac
AutoIt: .au3 .AU3 .aU3 .Au3
Automake: (Makefile.am) (GNUmakefile.am) .am
Awk: .awk .gawk .mawk
Basic: .bas .bi .bm .bb .pb
Bats: .bats
BETA: .bet
BibTeX: .bib
Clojure: .clj .cljs .cljc
CMake: (CMakeLists.txt) .cmake
C: .c
C++: .c++ .cc .cp .cpp .cxx .h .h++ .hh .hp .hpp .hxx .inl .C .H .CPP .CXX
CPreProcessor:
CSS: .css
C#: .cs
Ctags: .ctags
Cobol: .cbl .cob .CBL .COB
CobolFree:
CobolVariable:
CUDA: .cu .cuh
D: .d .di
Diff: .diff .patch
DTD: .dtd .mod
DTS: .dts .dtsi
DosBatch: .bat .cmd
Eiffel: .e
Elixir: .ex .exs
EmacsLisp: .el
Erlang: .erl .ERL .hrl .HRL
Falcon: .fal .ftd
Flex: .as .mxml
Fortran: .f .for .ftn .f77 .f90 .f95 .f03 .f08 .f15 .F .FOR .FTN .F77 .F90 .F95 .F03 .F08 .F15
FrontMatter:
FunctionParameters:
Fypp: .fy
Gdbinit: (.gdbinit) .gdb
GDScript: .gd
GemSpec: .gemspec
Go: .go
GPerf: .perf .gperf
Haskell: .hs
Haxe: .hx
HTML: .htm .html
Iniconf: .ini .conf
Inko: .inko
IPythonCell:
ITcl: .itcl
Java: .java
JavaProperties: .properties
JavaScript: .js .jsx .mjs
JSON: .json
Julia: .jl
Kconfig: (Kconfig*)
LdScript: (*.lds.S) (ld.script) .lds .scr .ld .ldi
LEX: .lex .l
Lisp: .cl .clisp .l .lisp .lsp
LiterateHaskell: .lhs
Lua: .lua
M4: .m4 .spt
Man: .1 .2 .3 .4 .5 .6 .7 .8 .9 .3pm .3stap .7stap
Make: ([Mm]akefile) (GNUmakefile) .mak .mk
Markdown: .md .markdown
MatLab: .m
Meson: (meson.build)
MesonOptions: (meson_options.txt)
Moose:
Myrddin: .myr
NSIS: .nsi .nsh
ObjectiveC: .mm .m .h
OldC++: .c++ .cc .cp .cpp .cxx .h .h++ .hh .hp .hpp .hxx .inl .C .H
OldC: .c
OCaml: .ml .mli .aug
Org: .org
Passwd: (passwd)
Pascal: .p .pas
Perl: .pl .pm .ph .plx .perl
Perl6: .p6 .pm6 .pm .pl6 .t6 .raku .rakumod .rakutest
PHP: .php .php3 .php4 .php5 .php7 .phtml
Pod: .pod
PowerShell: .ps1 .psm1
Protobuf: .proto
PuppetManifest: .pp
Python: .py .pyx .pxd .pxi .scons .wsgi
PythonLoggingConfig:
QemuHX: .hx
QtMoc:
Quarto: .qmd
RMarkdown: .rmd
R: .r .R .s .q
Rake: (Rakefile) .rake
R6Class:
RSpec:
REXX: .cmd .rexx .rx
Robot: .robot
RpmMacros:
RpmSpec: .spec
ReStructuredText: .rest .reST .rst
Ruby: .rb .ruby
Rust: .rs
S4Class:
Scheme: .SCM .SM .sch .scheme .scm .sm .rkt
SCSS: .scss
Sh: .sh .SH .bsh .bash .ksh .ash
SLang: .sl
SML: .sml .sig
SQL: .sql
SystemdUnit: .service .socket .device .mount .automount .swap .target .path .timer .snapshot .slice
SystemTap: .stp .stpm
Tcl: .tcl .tk .wish .exp
TclOO:
Terraform: .tf
TerraformVariables: .tfvars
Tex: .tex
TeXBeamer:
TTCN: .ttcn .ttcn3
Txt2tags: (*.t2t) .t2t
TypeScript: .ts
Vera: .vr .vri .vrh
Verilog: .v
SystemVerilog: .sv .svh .svi
VHDL: .vhdl .vhd
Vim: (vimrc) ([._]vimrc) (gvimrc) ([._]gvimrc) .vim .vba
WindRes: .rc
YACC: .y
YumRepo: .repo
Zephir: .zep
Zsh: .zsh
DBusIntrospect: .xml
Glade: .glade
Maven2: (pom.xml) .pom .xml
PlistXML: .plist
RelaxNG: .rng
SVG: .svg
XML: .xml
XSLT: .xsl .xslt
Varlink: .varlink
Kotlin: .kt .kts
Thrift: .thrift
Elm: .elm
Installing default language aliases:
UniversalCtags:
Unknown:
CTagsSelfTest:
Abaqus:
Abc:
Ada:
Ant:
Asciidoc:
Asm:
Asp:
Autoconf:
AutoIt:
Automake:
Awk: gawk mawk
Basic:
Bats:
BETA:
BibTeX:
Clojure:
CMake:
C:
C++:
CPreProcessor:
CSS:
C#: csharp
Ctags:
Cobol:
CobolFree:
CobolVariable:
CUDA:
D:
Diff:
DTD:
DTS:
DosBatch:
Eiffel:
Elixir:
EmacsLisp: emacs-lisp
Erlang:
Falcon:
Flex:
Fortran:
FrontMatter:
FunctionParameters:
Fypp:
Gdbinit:
GDScript:
GemSpec:
Go:
GPerf:
Haskell:
Haxe:
HTML:
Iniconf:
Inko:
IPythonCell:
ITcl:
Java:
JavaProperties:
JavaScript: js node nodejs seed gjs v8
JSON:
Julia:
Kconfig:
LdScript: ld-script
LEX:
Lisp: clisp
LiterateHaskell:
Lua:
M4:
Man:
Make: makefile
Markdown:
MatLab:
Meson:
MesonOptions:
Moose:
Myrddin:
NSIS:
ObjectiveC: objc objective-c
OldC++:
OldC:
OCaml: tuareg caml
Org:
Passwd:
Pascal:
Perl: cperl
Perl6:
PHP:
Pod:
PowerShell:
Protobuf:
PuppetManifest:
Python: python[23]* scons
PythonLoggingConfig:
QemuHX:
QtMoc:
Quarto:
RMarkdown:
R:
Rake:
R6Class:
RSpec:
REXX:
Robot:
RpmMacros:
RpmSpec: rpm-spec
ReStructuredText: rst
Ruby:
Rust:
S4Class:
Scheme: gosh guile racket
SCSS:
Sh: sh bash ksh ash dash shell-script
SLang:
SML:
SQL: pgsql
SystemdUnit:
SystemTap: stap
Tcl: expect tclsh
TclOO:
Terraform:
TerraformVariables:
Tex:
TeXBeamer:
TTCN:
Txt2tags:
TypeScript:
Vera:
Verilog:
SystemVerilog:
VHDL:
Vim:
WindRes:
YACC:
YumRepo:
Zephir:
Zsh: zsh
DBusIntrospect:
Glade:
Maven2:
PlistXML:
RelaxNG:
SVG:
XML:
XSLT:
Varlink:
Kotlin:
Thrift:
Elm:
Installing default exclude patterns:
adding (null) pattern: {arch}
adding (null) pattern: .arch-ids
adding (null) pattern: .arch-inventory
adding (null) pattern: autom4te.cache
adding (null) pattern: BitKeeper
adding (null) pattern: .bzr
adding (null) pattern: .bzrignore
adding (null) pattern: CVS
adding (null) pattern: .cvsignore
adding (null) pattern: _darcs
adding (null) pattern: .deps
adding (null) pattern: .dvi
adding (null) pattern: .DS_Store
adding (null) pattern: EIFGEN
adding (null) pattern: .git
adding (null) pattern: .gitignore
adding (null) pattern: .gitattributes
adding (null) pattern: .hg
adding (null) pattern: .hgignore
adding (null) pattern: PENDING
adding (null) pattern: RCS
adding (null) pattern: RESYNC
adding (null) pattern: SCCS
adding (null) pattern: .svn
adding (null) pattern: *~
adding (null) pattern: .*.swp
adding (null) pattern: *.o
adding (null) pattern: *.a
adding (null) pattern: *.so
adding (null) pattern: *.obj
adding (null) pattern: *.lib
adding (null) pattern: *.dll
adding (null) pattern: *.exe
adding (null) pattern: *.gcno
adding (null) pattern: *.gcda
adding (null) pattern: *.class
adding (null) pattern: *.pyc
adding (null) pattern: *.pyo
Reading initial options from command line
Entering configuration stage: loading command line
Option: -o -
Reading command line arguments
Get file language for input.cpp
pattern: input.cpp
#candidates: 1
0: C++ (extension: "cpp")
#candidates after sorting and filtering: 1
0: C++ (extension: "cpp")
OPENING input.cpp as C++ language file [new]
Initialize parser: C++
Initialize parser: QtMoc
Initialize parser: CPreProcessor
Then,
It seems that your main.cpp uses the newer syntax, maybe called C++-3000, that ctags doesn't support. The committee of C++-3000 accepts the binary-based compressed syntax.
About input.cpp, I don't understand what happens. I would like to see the output of:
$ cd /home/xcl/code/demo/test_main_modules/c++/code_musing
$ od -A x -t x1z -v < input.cpp
The file size of input.c is 4.1kb in your screenshot though it should be 29 bytes.
% ls -l input.cpp
-rw-r--r--. 1 jet jet 29 Apr 26 14:11 input.cpp
od -A x -t x1z -v < input.cpp
000000 88 7d 1c b0 61 00 07 00 ad 7c 75 44 b5 56 17 a5 >.}..a....|uD.V..<
000010 13 96 0f fa 00 00 00 00 fe ff 00 00 00 00 00 00 >................<
000020 00 00 00 00 00 00 00 00 00 00 00 00 00 00 d9 41 >...............A<
000030 38 82 c0 00 00 00 00 00 00 00 00 00 00 00 00 00 >8...............<
000040 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................<
000050 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................<
000060 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................<
000070 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................<
000080 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................<
000090 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................<
0000a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................<
0000b0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................<
0000c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................<
0000d0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................<
0000e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................<
0000f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................<
000100 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................<
000110 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................<
000120 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................<
000130 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................<
000140 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................<
000150 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................<
000160 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................<
000170 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................<
000180 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................<
000190 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................<
0001a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................<
0001b0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................<
0001c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................<
0001d0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................<
0001e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................<
0001f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................<
000200 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................<
000210 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................<
000220 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................<
000230 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................<
000240 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................<
000250 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................<
000260 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................<
000270 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................<
000280 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................<
000290 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................<
0002a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................<
0002b0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................<
0002c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................<
0002d0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................<
0002e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................<
0002f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................<
000300 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................<
000310 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................<
000320 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................<
000330 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................<
000340 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................<
000350 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................<
000360 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................<
000370 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................<
000380 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................<
000390 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................<
0003a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................<
0003b0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................<
0003c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................<
0003d0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................<
0003e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................<
0003f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................<
000400 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................<
000410 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................<
000420 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................<
000430 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................<
000440 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................<
000450 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................<
000460 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................<
000470 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................<
000480 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................<
000490 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................<
0004a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................<
0004b0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................<
0004c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................<
0004d0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................<
0004e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................<
0004f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................<
000500 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................<
000510 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................<
000520 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................<
000530 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................<
000540 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................<
000550 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................<
000560 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................<
000570 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................<
000580 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................<
000590 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................<
0005a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................<
0005b0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................<
0005c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................<
0005d0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................<
0005e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................<
0005f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................<
000600 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................<
000610 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................<
000620 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................<
000630 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................<
000640 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................<
000650 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................<
000660 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................<
000670 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................<
000680 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................<
000690 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................<
0006a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................<
0006b0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................<
0006c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................<
0006d0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................<
0006e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................<
0006f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................<
000700 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................<
000710 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................<
000720 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................<
000730 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................<
000740 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................<
000750 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................<
000760 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................<
000770 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................<
000780 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................<
000790 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................<
0007a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................<
0007b0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................<
0007c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................<
0007d0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................<
0007e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................<
0007f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................<
000800 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................<
000810 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................<
000820 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................<
000830 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................<
000840 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................<
000850 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................<
000860 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................<
000870 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................<
000880 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................<
000890 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................<
0008a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................<
0008b0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................<
0008c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................<
0008d0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................<
0008e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................<
0008f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................<
000900 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................<
000910 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................<
000920 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................<
000930 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................<
000940 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................<
000950 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................<
000960 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................<
000970 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................<
000980 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................<
000990 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................<
0009a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................<
0009b0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................<
0009c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................<
0009d0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................<
0009e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................<
0009f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................<
000a00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................<
000a10 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................<
000a20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................<
000a30 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................<
000a40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................<
000a50 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................<
000a60 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................<
000a70 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................<
000a80 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................<
000a90 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................<
000aa0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................<
000ab0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................<
000ac0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................<
000ad0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................<
000ae0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................<
000af0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................<
000b00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................<
000b10 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................<
000b20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................<
000b30 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................<
000b40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................<
000b50 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................<
000b60 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................<
000b70 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................<
000b80 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................<
000b90 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................<
000ba0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................<
000bb0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................<
000bc0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................<
000bd0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................<
000be0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................<
000bf0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................<
000c00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................<
000c10 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................<
000c20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................<
000c30 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................<
000c40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................<
000c50 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................<
000c60 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................<
000c70 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................<
000c80 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................<
000c90 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................<
000ca0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................<
000cb0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................<
000cc0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................<
000cd0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................<
000ce0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................<
000cf0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................<
000d00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................<
000d10 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................<
000d20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................<
000d30 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................<
000d40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................<
000d50 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................<
000d60 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................<
000d70 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................<
000d80 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................<
000d90 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................<
000da0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................<
000db0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................<
000dc0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................<
000dd0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................<
000de0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................<
000df0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................<
000e00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................<
000e10 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................<
000e20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................<
000e30 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................<
000e40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................<
000e50 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................<
000e60 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................<
000e70 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................<
000e80 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................<
000e90 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................<
000ea0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................<
000eb0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................<
000ec0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................<
000ed0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................<
000ee0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................<
000ef0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................<
000f00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................<
000f10 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................<
000f20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................<
000f30 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................<
000f40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................<
000f50 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................<
000f60 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................<
000f70 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................<
000f80 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................<
000f90 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................<
000fa0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................<
000fb0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................<
000fc0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................<
000fd0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................<
000fe0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................<
000ff0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................<
001000 8f 1b 7e 5b f5 53 f4 3f 6e 09 33 3c ae d5 b7 eb >..~[.S.?n.3<....<
001010 96 c8 7e b5 eb 74 bc b7 ec 9e 6f >..~..t....o<
00101b
The file size of input.c is 4.1kb in your screenshot though it should be 29 bytes.
% ls -l input.cpp -rw-r--r--. 1 jet jet 29 Apr 26 14:11 input.cpp
I don't think this is an issue of ctags.
The od output I expected is:
$ cat > input.cpp <<EOF
int main(void) { return 0; }
EOF
$ od -A x -t x1z -v < input.cpp
000000 69 6e 74 20 6d 61 69 6e 28 76 6f 69 64 29 20 7b >int main(void) {<
000010 20 72 65 74 75 72 6e 20 30 3b 20 7d 0a > return 0; }.<
00001d
On your system input.cpp has unexpected data:
000000 88 7d 1c b0 61 00 07 00 ad 7c 75 44 b5 56 17 a5 >.}..a....|uD.V..<
000010 13 96 0f fa 00 00 00 00 fe ff 00 00 00 00 00 00 >................<
000020 00 00 00 00 00 00 00 00 00 00 00 00 00 00 d9 41 >...............A<
000030 38 82 c0 00 00 00 00 00 00 00 00 00 00 00 00 00 >8...............<
...
I don't understand what happens on your platform. The file system or your cat command looks broken to me. Anyway, this is nothing to do with ctags.
when I input this command: ctags -R --kinds-c++=+p+l+x+c+d+e+f+g+m+n+s+t+u+v --fields=+liaS --extras=+q --languages=c++,c *, the tags file in current directory has no useful tags ,like this: