Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mipi_syst.h:86:32: error: unable to find string literal operator #4

Open
jiapei100 opened this issue Oct 31, 2022 · 0 comments
Open

Comments

@jiapei100
Copy link

It looks current public-mipi-sys-t 1.0 is incompatible with the most recent googletest, say, version 1.12.1 ? Any update in year 2022??

[ 65%] Building CXX object test/unit/CMakeFiles/syst_unittest.dir/mipi_syst_init_test.cpp.o
cd ....../public-mipi-sys-t/library/build/test/unit && /usr/bin/c++ -D_VARIADIC_MAX=10 -I....../public-mipi-sys-t/library/platform/example/include -I....../public-mipi-sys-t/library/build/include -I....../public-mipi-sys-t/library/include -I....../public-mipi-sys-t/library/test/unit/include/mipi_syst.h.in -I....../public-mipi-sys-t/library/test/unit/include/mipi_syst/api.h -I....../public-mipi-sys-t/library/test/unit/include/mipi_syst/compiler.h -I....../public-mipi-sys-t/library/test/unit/include/mipi_syst/crc32.h -I....../public-mipi-sys-t/library/test/unit/include/mipi_syst/message.h -I....../public-mipi-sys-t/library/test/unit/include/mipi_syst/inline.h -I....../public-mipi-sys-t/library/test/unit/../../platform/src -I....../public-mipi-sys-t/library/test/unit/../../platform/example/src -isystem ....../public-mipi-sys-t/external/googletest/googletest/include -O3 -DNDEBUG   -D MIPI_SYST_CRC_INTRINSIC_ON -msse4.2 -DMIPI_SYST_EXPORTS -MD -MT test/unit/CMakeFiles/syst_unittest.dir/mipi_syst_init_test.cpp.o -MF CMakeFiles/syst_unittest.dir/mipi_syst_init_test.cpp.o.d -o CMakeFiles/syst_unittest.dir/mipi_syst_init_test.cpp.o -c ....../public-mipi-sys-t/library/test/unit/mipi_syst_init_test.cpp
In file included from ....../public-mipi-sys-t/external/googletest/googletest/include/gtest/gtest.h:369,
                 from ....../public-mipi-sys-t/library/test/unit/mipi_syst_gtest.h:39,
                 from ....../public-mipi-sys-t/library/test/unit/mipi_syst_init_test.cpp:39:
....../public-mipi-sys-t/library/test/unit/mipi_syst_init_test.cpp: In member function ‘virtual void MipiSysTFixtureBase_syst_version_macro_Test::TestBody()’:
....../public-mipi-sys-t/library/build/include/mipi_syst.h:86:32: error: unable to find string literal operator ‘operator""_MIPI_SYST_CPP_TOSTR’ with ‘const char [3]’, ‘long unsigned int’ arguments
   86 |         _MIPI_SYST_CPP_TOSTR(a)"."_MIPI_SYST_CPP_TOSTR(b)"."_MIPI_SYST_CPP_TOSTR(c)
      |                                ^~~~~~~~~~~~~~~~~~~~~~~
....../public-mipi-sys-t/library/build/include/mipi_syst.h:90:9: note: in expansion of macro ‘_MIPI_SYST_VERSION_STRING’
   90 |         _MIPI_SYST_VERSION_STRING(\
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
....../public-mipi-sys-t/library/test/unit/mipi_syst_init_test.cpp:339:38: note: in expansion of macro ‘MIPI_SYST_VERSION_STRING’
  339 |         EXPECT_STREQ(verstr.c_str(), MIPI_SYST_VERSION_STRING);
      |                                      ^~~~~~~~~~~~~~~~~~~~~~~~
make[2]: *** [test/unit/CMakeFiles/syst_unittest.dir/build.make:93: test/unit/CMakeFiles/syst_unittest.dir/mipi_syst_init_test.cpp.o] Error 1
make[2]: Leaving directory '....../public-mipi-sys-t/library/build'
make[1]: *** [CMakeFiles/Makefile2:237: test/unit/CMakeFiles/syst_unittest.dir/all] Error 2
make[1]: Leaving directory '....../public-mipi-sys-t/library/build'
make: *** [Makefile:149: all] Error 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant