Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
L
libdvdnav
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 6
    • Issues 6
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 0
    • Merge Requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value Stream
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • VideoLAN
  • libdvdnav
  • Merge Requests
  • !21

Merged
Created Oct 15, 2020 by Ganael Laplanche@martymacContributor

Fix build when LOG_DEBUG is defined

  • Overview 0
  • Commits 1
  • Pipelines 1
  • Changes 2

Hello,

Trying to enable LOG_DEBUG led to the following errors :

libtool: compile: cc -DHAVE_CONFIG_H -I. -I./src -I./src/dvdnav -I/usr/local/include -D_THREAD_SAFE -I/usr/local/include -I/usr/local/include -D_THREAD_SAFE -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -std=c99 -mno-ms-bitfields -Wall -Wsign-compare -Wextra -MT src/dvdnav.lo -MD -MP -MF src/.deps/dvdnav.Tpo -c src/dvdnav.c -fPIC -DPIC -o src/.libs/dvdnav.o src/dvdnav.c:559:8: error: use of undeclared identifier 'vm' Log3(vm, "POS-NEXT "); ^ src/dvdnav.c:559:8: error: use of undeclared identifier 'vm' src/dvdnav.c:560:3: warning: implicit declaration of function 'vm_position_print' is invalid in C99 [-Wimplicit-function-declaration]

I had to make the attached changes to be able to build libdvdnav with LOG_DEBUG defined (implying TRACE, as it is needed).

Best regards,

Ganael.

Assignee
Assign to
Reviewer
Request review from
None
Milestone
None
Assign milestone
Time tracking
Source branch: master