https://bugs.documentfoundation.org/show_bug.cgi?id=95174

--- Comment #3 from Devansh Varshney <[email protected]> ---
Since past 2 weeks I am seeing this while building my local build via make for
any changes I do -

[CXX] workdir/YaccTarget/connectivity/source/parse/sqlbison.cxx
[CXX] workdir/LexTarget/connectivity/source/parse/sqlflex.cxx
[CXX] connectivity/source/parse/sqliterator.cxx
[CXX] connectivity/source/parse/sqlnode.cxx
/home/devansh/libreoffice/workdir/YaccTarget/connectivity/source/parse/sqlbison.cxx:
In static member function ‘static rtl::OString
connectivity::OSQLParser::TokenIDToStr(sal_uInt32, const
connectivity::IParseContext*)’:
/home/devansh/libreoffice/workdir/YaccTarget/connectivity/source/parse/sqlbison.cxx:1142:6:
warning: comparison of unsigned expression in ‘>= 0’ is always true
[-Wtype-limits]
 1142 |   (0 <= (YYX) && (YYX) <= YYMAXUTOK                     \
      |    ~~^~~~~~~~
/home/devansh/libreoffice/workdir/YaccTarget/connectivity/source/parse/sqlbison.cxx:10930:32:
note: in expansion of macro ‘YYTRANSLATE’
10930 |                 aStr = yytname[YYTRANSLATE(nTokenID)];
      |                                ^~~~~~~~~~~


After looking for the files in the above message I found this bug.(not related
to this)



Found these resources -

https://www.oreilly.com/library/view/flex-bison/9780596805418/ch04.html
[Parsing SQL]

https://www.oreilly.com/library/view/flex-bison/9780596805418/

https://dev.blog.documentfoundation.org/2023/09/14/catalog-and-schema-support-for-sql-functions-difficulty-interesting-easyhack/


I am currently working on this :)

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to