Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-14736

Compilation error on Windows

XMLWordPrintable

    • Icon: Problem report Problem report
    • Resolution: Won't fix
    • Icon: Major Major
    • None
    • 2.2.24rc1
    • Agent (G)
    • None
    • Sprint 40, Sprint 41
    • 0.25

      Unable to compile on Windows.

      ..\..\..\src\libs\zbxsysinfo\common\system.c(71): error C2065: 'timezone': undeclared identifier
      NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\VC\Tools\MSVC\14.14.26428\bin\HostX64\x64\cl.exe"' : return code '0x2'
      

      Variable timezone which is used in function SYSTEM_LOCALTIME() is no longer declared in file time.h on MS Visual Studio 2017.

            MVekslers Michael Veksler
            viktors.tjarve Viktors Tjarve
            Team A
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: