ellson / MOTHBALLED-graphviz

Moved to https://gitlab.com/graphviz/graphviz
Eclipse Public License 1.0
1.29k stars 256 forks source link

Trying to compile on windows: cannot open include file: 'libltdl/lt_system.h' #1186

Closed chtenb closed 7 years ago

chtenb commented 7 years ago

I'm trying to build graphviz on windows using Visual Studio 2015, but I'm currently stuck with this error. I've got the cgraph project to build, now gvc is next. What I did so far:

  1. Install libtool from gnu win 32
  2. Install sed from gnu win 32
  3. Install pcre from gnu win 32
  4. Install zlib from gnu win 32
  5. Add the gnu paths to the project parameters
  6. Undefine HAVE_EXPAT* in windows/include/config.h

This is the error message:

  c:\users\chiel.tenbrinke\projects\graphviz\lib\common\utils.c(22): fatal error C1083: Cannot open include file: 'libltdl/lt_system.h': No such file or directory [C:\Users\Chiel.tenBrinke\Projects\graphviz\lib\gvc.vcxproj]

Any idea where to get this header file? As noted above, I did install libtool, but it didn't come with any lt_system.h header file.

Full compiler output: https://justpaste.it/11e72

ellson commented 7 years ago

I can only tell you how it works on Linux.

That file is generated by "libtoolize" which is run from autoreconf which is run from ./autogen.sh

I've no idea if libtool supports dynamically loaded libraries on Windows? (i.e. libs that are loaded on demand, but not necessarily at the start of the invocation.)

A work-around would be to use: ./configure --enable-static

John

On December 14, 2016 at 11:10 AM Chiel ten Brinke notifications@github.com wrote:

I'm trying to build graphviz on windows, but I'm currently stuck with this error. I've got the cgraph project to build, now gvc is next. What I did so far:

   1. Install libtool from gnu win 32
   2. Install sed from gnu win 32
   3. Install pcre from gnu win 32
   4. Install zlib from gnu win 32
   5. Add the gnu paths to the project parameters
   6. Undefine HAVE_EXPAT* in windows/include/config.h

This is the error message:

  c:\users\chiel.tenbrinke\projects\graphviz\lib\common\utils.c(22): fatal error C1083: Cannot open include file: 'libltdl/lt_system.h': No such file or directory [C:\Users\Chiel.tenBrinke\Projects\graphviz\lib\gvc.vcxproj]

Any idea where to get this header file? As noted above, I did install libtool, but it didn't come with any lt_system.h header file.

Full compiler output:

$ msbuild graphviz.sln //t:gvc
Microsoft (R) Build Engine version 14.0.25123.0
Copyright (C) Microsoft Corporation. All rights reserved.

Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch.
Build started 2016-12-14 17:02:07.
Project "C:\Users\Chiel.tenBrinke\Projects\graphviz\graphviz.sln" on node 1 (gvc target(s)).
ValidateSolutionConfiguration:
  Building solution configuration "Debug|Win32".
Project "C:\Users\Chiel.tenBrinke\Projects\graphviz\graphviz.sln" (1) is building "C:\Users\Chiel.tenBrinke\Projects\graphviz\lib\gvc.vcxproj" (2) on node 1 (default targets).
Project "C:\Users\Chiel.tenBrinke\Projects\graphviz\lib\gvc.vcxproj" (2) is building "C:\Users\Chiel.tenBrinke\Projects\graphviz\lib\cdt\cdt.vcxproj" (3) on node 1 (default targets).
InitializeBuildStatus:
  Creating "Debug\cdt.tlog\unsuccessfulbuild" because "AlwaysCreate" was specified.
ClCompile:
  All outputs are up-to-date.
Link:
  All outputs are up-to-date.
  cdt.vcxproj -> C:\Users\Chiel.tenBrinke\Projects\graphviz\Debug\Graphviz\bin\cdt.dll
RunMergeNativeCodeAnalysis:
Skipping target "RunMergeNativeCodeAnalysis" because all output files are up-to-date with respect to the input files.
RunNativeCodeAnalysis:
Skipping target "RunNativeCodeAnalysis" because all output files are up-to-date with respect to the input files.
FinalizeBuildStatus:
  Deleting file "Debug\cdt.tlog\unsuccessfulbuild".
  Touching "Debug\cdt.tlog\cdt.lastbuildstate".
Done Building Project "C:\Users\Chiel.tenBrinke\Projects\graphviz\lib\cdt\cdt.vcxproj" (default targets).
Project "C:\Users\Chiel.tenBrinke\Projects\graphviz\lib\gvc.vcxproj" (2) is building "C:\Users\Chiel.tenBrinke\Projects\graphviz\lib\patchwork\gvpatchwork.vcxproj" (4) on node 1 (default targets).
InitializeBuildStatus:
  Creating "Debug\patchwork.tlog\unsuccessfulbuild" because "AlwaysCreate" was specified.
ClCompile:
  All outputs are up-to-date.
Lib:
  All outputs are up-to-date.
  gvpatchwork.vcxproj -> C:\Users\Chiel.tenBrinke\Projects\graphviz\Debug\Graphviz\bin\patchwork.lib
RunMergeNativeCodeAnalysis:
Skipping target "RunMergeNativeCodeAnalysis" because all output files are up-to-date with respect to the input files.
RunNativeCodeAnalysis:
Skipping target "RunNativeCodeAnalysis" because all output files are up-to-date with respect to the input files.
FinalizeBuildStatus:
  Deleting file "Debug\patchwork.tlog\unsuccessfulbuild".
  Touching "Debug\patchwork.tlog\patchwork.lastbuildstate".
Done Building Project "C:\Users\Chiel.tenBrinke\Projects\graphviz\lib\patchwork\gvpatchwork.vcxproj" (default targets).
Project "C:\Users\Chiel.tenBrinke\Projects\graphviz\lib\gvc.vcxproj" (2) is building "C:\Users\Chiel.tenBrinke\Projects\graphviz\lib\pathplan\Pathplan.vcxproj" (5) on node 1 (default targets).
InitializeBuildStatus:
  Creating "Debug\Pathplan.tlog\unsuccessfulbuild" because "AlwaysCreate" was specified.
ClCompile:
  All outputs are up-to-date.
Link:
  All outputs are up-to-date.
  Pathplan.vcxproj -> C:\Users\Chiel.tenBrinke\Projects\graphviz\Debug\Graphviz\bin\Pathplan.dll
RunMergeNativeCodeAnalysis:
Skipping target "RunMergeNativeCodeAnalysis" because all output files are up-to-date with respect to the input files.
RunNativeCodeAnalysis:
Skipping target "RunNativeCodeAnalysis" because all output files are up-to-date with respect to the input files.
FinalizeBuildStatus:
  Deleting file "Debug\Pathplan.tlog\unsuccessfulbuild".
  Touching "Debug\Pathplan.tlog\Pathplan.lastbuildstate".
Done Building Project "C:\Users\Chiel.tenBrinke\Projects\graphviz\lib\pathplan\Pathplan.vcxproj" (default targets).
Project "C:\Users\Chiel.tenBrinke\Projects\graphviz\lib\gvc.vcxproj" (2) is building "C:\Users\Chiel.tenBrinke\Projects\graphviz\lib\xdot\xdot.vcxproj" (6) on node 1 (default targets).
Project "C:\Users\Chiel.tenBrinke\Projects\graphviz\lib\xdot\xdot.vcxproj" (6) is building "C:\Users\Chiel.tenBrinke\Projects\graphviz\lib\cgraph\cgraph.vcxproj" (7) on node 1 (default targets).
InitializeBuildStatus:
  Creating "Debug\cgraph.tlog\unsuccessfulbuild" because "AlwaysCreate" was specified.
PreBuildEvent:
  bison -dy grammar.y -o grammar.c
  flex -oscan.c scan.l
  :VCEnd
ClCompile:
  C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\CL.exe /c /IC:\Users\Chiel.tenBrinke\Projects\graphviz\lib\cgraph\ /IC:\Users\Chiel.tenBrinke\Projects\graphviz\windows\include /IC:\Users\Chiel.tenBrinke\Projects\graphviz\lib\cdt /ZI /nologo /W4 /WX- /Od /Oy- /D CODE_ANALYSIS /D WIN32 /D _DEBUG /D _WINDOWS /D _USRDLL /D CGRAPH_EXPORTS /D WIN32_DLL /D YY_NO_UNISTD_H /D _DLL_BLD /D _dll_import /D _WINDLL /Gm /EHsc /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /Fo"Debug\\" /Fd"Debug\vc140.pdb" /Gd /TC /wd4996 /analyze /analyze:plugin"C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\\bin\localespc.dll" /errorReport:queue   /analyze:quiet grammar.c scan.c
  scan.c
scan.c(836): warning C4244: '=': conversion from 'int' to 'YY_CHAR', possible loss of data [C:\Users\Chiel.tenBrinke\Projects\graphviz\lib\cgraph\cgraph.vcxproj]
scan.c(826): warning C4244: 'initializing': conversion from 'int' to 'YY_CHAR', possible loss of data [C:\Users\Chiel.tenBrinke\Projects\graphviz\lib\cgraph\cgraph.vcxproj]
scan.c(1334): warning C4244: '=': conversion from 'int' to 'YY_CHAR', possible loss of data [C:\Users\Chiel.tenBrinke\Projects\graphviz\lib\cgraph\cgraph.vcxproj]
scan.c(1324): warning C4244: 'initializing': conversion from 'int' to 'YY_CHAR', possible loss of data [C:\Users\Chiel.tenBrinke\Projects\graphviz\lib\cgraph\cgraph.vcxproj]
scan.c(1353): warning C4131: 'yy_try_NUL_trans': uses old-style declarator [C:\Users\Chiel.tenBrinke\Projects\graphviz\lib\cgraph\cgraph.vcxproj]
scan.c(1369): warning C4244: '=': conversion from 'int' to 'YY_CHAR', possible loss of data [C:\Users\Chiel.tenBrinke\Projects\graphviz\lib\cgraph\cgraph.vcxproj]
scan.c(1383): warning C4131: 'yyunput': uses old-style declarator [C:\Users\Chiel.tenBrinke\Projects\graphviz\lib\cgraph\cgraph.vcxproj]
scan.c(1501): warning C4131: 'yyrestart': uses old-style declarator [C:\Users\Chiel.tenBrinke\Projects\graphviz\lib\cgraph\cgraph.vcxproj]
scan.c(1516): warning C4131: 'yy_switch_to_buffer': uses old-style declarator [C:\Users\Chiel.tenBrinke\Projects\graphviz\lib\cgraph\cgraph.vcxproj]
scan.c(1559): warning C4131: 'yy_create_buffer': uses old-style declarator [C:\Users\Chiel.tenBrinke\Projects\graphviz\lib\cgraph\cgraph.vcxproj]
scan.c(1590): warning C4131: 'yy_delete_buffer': uses old-style declarator [C:\Users\Chiel.tenBrinke\Projects\graphviz\lib\cgraph\cgraph.vcxproj]
scan.c(1616): warning C4131: 'yy_init_buffer': uses old-style declarator [C:\Users\Chiel.tenBrinke\Projects\graphviz\lib\cgraph\cgraph.vcxproj]
scan.c(1643): warning C4131: 'yy_flush_buffer': uses old-style declarator [C:\Users\Chiel.tenBrinke\Projects\graphviz\lib\cgraph\cgraph.vcxproj]
scan.c(1674): warning C4131: 'yy_scan_buffer': uses old-style declarator [C:\Users\Chiel.tenBrinke\Projects\graphviz\lib\cgraph\cgraph.vcxproj]
scan.c(1712): warning C4131: 'yy_scan_string': uses old-style declarator [C:\Users\Chiel.tenBrinke\Projects\graphviz\lib\cgraph\cgraph.vcxproj]
scan.c(1729): warning C4131: 'yy_scan_bytes': uses old-style declarator [C:\Users\Chiel.tenBrinke\Projects\graphviz\lib\cgraph\cgraph.vcxproj]
scan.c(1823): warning C4131: 'yy_fatal_error': uses old-style declarator [C:\Users\Chiel.tenBrinke\Projects\graphviz\lib\cgraph\cgraph.vcxproj]
scan.c(1887): warning C4131: 'yy_flex_alloc': uses old-style declarator [C:\Users\Chiel.tenBrinke\Projects\graphviz\lib\cgraph\cgraph.vcxproj]
scan.c(1897): warning C4131: 'yy_flex_realloc': uses old-style declarator [C:\Users\Chiel.tenBrinke\Projects\graphviz\lib\cgraph\cgraph.vcxproj]
scan.c(1915): warning C4131: 'yy_flex_free': uses old-style declarator [C:\Users\Chiel.tenBrinke\Projects\graphviz\lib\cgraph\cgraph.vcxproj]
  grammar.c
grammar.c(364): warning C4565: 'malloc': redefinition; the symbol was previously declared with __declspec(restrict) [C:\Users\Chiel.tenBrinke\Projects\graphviz\lib\cgraph\cgraph.vcxproj]
grammar.c(364): warning C4273: 'malloc': inconsistent dll linkage [C:\Users\Chiel.tenBrinke\Projects\graphviz\lib\cgraph\cgraph.vcxproj]
  c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_malloc.h(97): note: see previous definition of 'malloc'
grammar.c(371): warning C4273: 'free': inconsistent dll linkage [C:\Users\Chiel.tenBrinke\Projects\graphviz\lib\cgraph\cgraph.vcxproj]
  c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_malloc.h(85): note: see previous definition of 'free'
grammar.c(1317): warning C4244: '=': conversion from 'int' to 'yytype_int16', possible loss of data [C:\Users\Chiel.tenBrinke\Projects\graphviz\lib\cgraph\cgraph.vcxproj]
grammar.c(1406): warning C4013: 'yylex' undefined; assuming extern returning int [C:\Users\Chiel.tenBrinke\Projects\graphviz\lib\cgraph\cgraph.vcxproj]
grammar.y(399): warning C4100: 'x': unreferenced formal parameter [C:\Users\Chiel.tenBrinke\Projects\graphviz\lib\cgraph\cgraph.vcxproj]
  Running Code Analysis for C/C++...
  Generating Code...
c:\users\chiel.tenbrinke\projects\graphviz\lib\cgraph\grammar.c(1840): warning C4702: unreachable code [C:\Users\Chiel.tenBrinke\Projects\graphviz\lib\cgraph\cgraph.vcxproj]
Link:
  C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\link.exe /ERRORREPORT:QUEUE /OUT:"C:\Users\Chiel.tenBrinke\Projects\graphviz\Debug\Graphviz\bin\cgraph.dll" /NOLOGO /DEF:"cgraph.def" /MANIFEST /MANIFESTUAC:"level='asInvoker' uiAccess='false'" /manifest:embed /Debug /PDB:"C:\Users\Chiel.tenBrinke\Projects\graphviz\Debug\Graphviz\bin\cgraph.pdb" /SUBSYSTEM:WINDOWS /TLBID:1 /DYNAMICBASE /IMPLIB:"C:\Users\Chiel.tenBrinke\Projects\graphviz\Debug\Graphviz\bin\cgraph.lib" /MACHINE:X86 /SAFESEH /DLL Debug\agerror.obj
  Debug\agxbuf.obj
  Debug\apply.obj
  Debug\attr.obj
  Debug\edge.obj
  Debug\flatten.obj
  Debug\grammar.obj
  Debug\graph.obj
  Debug\id.obj
  Debug\imap.obj
  Debug\io.obj
  Debug\mem.obj
  Debug\node.obj
  Debug\obj.obj
  Debug\pend.obj
  Debug\rec.obj
  Debug\refstr.obj
  Debug\scan.obj
  Debug\subg.obj
  Debug\utils.obj
  Debug\write.obj
  C:\Users\Chiel.tenBrinke\Projects\graphviz\Debug\Graphviz\bin\cdt.lib
  cgraph.vcxproj -> C:\Users\Chiel.tenBrinke\Projects\graphviz\Debug\Graphviz\bin\cgraph.dll
c:\users\chiel.tenbrinke\projects\graphviz\lib\cgraph\agerror.c(54): warning C6387: 'buf' could be '0':  this does not adhere to the specification for the function 'fread'.  [C:\Users\Chiel.tenBrinke\Projects\graphviz\lib\cgraph\cgraph.vcxproj]
c:\users\chiel.tenbrinke\projects\graphviz\lib\cgraph\agerror.c(55): warning C6011: Dereferencing NULL pointer 'buf'. See line 54 for an earlier location where this can occur [C:\Users\Chiel.tenBrinke\Projects\graphviz\lib\cgraph\cgraph.vcxproj]
c:\users\chiel.tenbrinke\projects\graphviz\lib\cgraph\agerror.c(86): warning C6386: Buffer overrun while writing to 'buf':  the writable size is 'bufsz' bytes, but '1' bytes might be written. [C:\Users\Chiel.tenBrinke\Projects\graphviz\lib\cgraph\cgraph.vcxproj]
c:\users\chiel.tenbrinke\projects\graphviz\lib\cgraph\agxbuf.c(38): warning C6011: Dereferencing NULL pointer 'xb->ptr'.  [C:\Users\Chiel.tenBrinke\Projects\graphviz\lib\cgraph\cgraph.vcxproj]
c:\users\chiel.tenbrinke\projects\graphviz\lib\cgraph\agxbuf.c(60): warning C6387: 'nbuf' could be '0':  this does not adhere to the specification for the function 'memcpy'.  [C:\Users\Chiel.tenBrinke\Projects\graphviz\lib\cgraph\cgraph.vcxproj]
c:\users\chiel.tenbrinke\projects\graphviz\lib\cgraph\grammar.c(364): warning C28251: Inconsistent annotation for 'malloc': this instance has no annotations. See c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_malloc.h(97).  [C:\Users\Chiel.tenBrinke\Projects\graphviz\lib\cgraph\cgraph.vcxproj]
c:\users\chiel.tenbrinke\projects\graphviz\lib\cgraph\grammar.c(371): warning C28251: Inconsistent annotation for 'free': this instance has no annotations. See c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_malloc.h(85).  [C:\Users\Chiel.tenBrinke\Projects\graphviz\lib\cgraph\cgraph.vcxproj]
c:\users\chiel.tenbrinke\projects\graphviz\lib\cgraph\grammar.c(1396): warning C6385: Reading invalid data from 'yypact':  the readable size is '80' bytes, but 'yystate' bytes may be read. [C:\Users\Chiel.tenBrinke\Projects\graphviz\lib\cgraph\cgraph.vcxproj]
c:\users\chiel.tenbrinke\projects\graphviz\lib\cgraph\grammar.c(1476): warning C28199: Using possibly uninitialized memory '*yyvs':  The variable has had its address taken but no assignment to it has been discovered. [C:\Users\Chiel.tenBrinke\Projects\graphviz\lib\cgraph\cgraph.vcxproj]
c:\users\chiel.tenbrinke\projects\graphviz\lib\cgraph\grammar.y(459): warning C6387: 'sym' could be '0':  this does not adhere to the specification for the function 'strcpy'.  [C:\Users\Chiel.tenBrinke\Projects\graphviz\lib\cgraph\cgraph.vcxproj]
c:\users\chiel.tenbrinke\projects\graphviz\lib\cgraph\grammar.y(460): warning C6387: 'sym' could be '0':  this does not adhere to the specification for the function 'strcat'. See line 459 for an earlier location where this can occur [C:\Users\Chiel.tenBrinke\Projects\graphviz\lib\cgraph\cgraph.vcxproj]
c:\users\chiel.tenbrinke\projects\graphviz\lib\cgraph\grammar.y(480): warning C6387: 'sym' could be '0':  this does not adhere to the specification for the function 'sprintf'.  [C:\Users\Chiel.tenBrinke\Projects\graphviz\lib\cgraph\cgraph.vcxproj]
c:\users\chiel.tenbrinke\projects\graphviz\lib\cgraph\id.c(160): warning C6328: Size mismatch: 'unsigned __int64' passed as _Param_(4) when 'int' is required in call to 'sprintf'.  [C:\Users\Chiel.tenBrinke\Projects\graphviz\lib\cgraph\cgraph.vcxproj]
c:\users\chiel.tenbrinke\projects\graphviz\lib\cgraph\id.c(160): warning C6340: Mismatch on sign: 'unsigned __int64' passed as _Param_(4) when some signed type is required in call to 'sprintf'. [C:\Users\Chiel.tenBrinke\Projects\graphviz\lib\cgraph\cgraph.vcxproj]
c:\users\chiel.tenbrinke\projects\graphviz\lib\cgraph\mem.c(28): warning C6387: 'rv' could be '0':  this does not adhere to the specification for the function 'memset'.  [C:\Users\Chiel.tenBrinke\Projects\graphviz\lib\cgraph\cgraph.vcxproj]
c:\users\chiel.tenbrinke\projects\graphviz\lib\cgraph\mem.c(40): warning C6387: '(char *)rv+oldsize' could be '0':  this does not adhere to the specification for the function 'memset'.  [C:\Users\Chiel.tenBrinke\Projects\graphviz\lib\cgraph\cgraph.vcxproj]
c:\users\chiel.tenbrinke\projects\graphviz\lib\cgraph\pend.c(127): warning C6011: Dereferencing NULL pointer 'dict_ref'.  [C:\Users\Chiel.tenBrinke\Projects\graphviz\lib\cgraph\cgraph.vcxproj]
c:\users\chiel.tenbrinke\projects\graphviz\lib\cgraph\refstr.c(115): warning C6011: Dereferencing NULL pointer 'r'.  [C:\Users\Chiel.tenBrinke\Projects\graphviz\lib\cgraph\cgraph.vcxproj]
c:\users\chiel.tenbrinke\projects\graphviz\lib\cgraph\refstr.c(141): warning C6011: Dereferencing NULL pointer 'r'.  [C:\Users\Chiel.tenBrinke\Projects\graphviz\lib\cgraph\cgraph.vcxproj]
c:\users\chiel.tenbrinke\projects\graphviz\lib\cgraph\scan.l(58): warning C6011: Dereferencing NULL pointer 'Sptr'.  [C:\Users\Chiel.tenBrinke\Projects\graphviz\lib\cgraph\cgraph.vcxproj]
c:\users\chiel.tenbrinke\projects\graphviz\lib\cgraph\scan.l(70): warning C6308: 'realloc' might return null pointer: assigning null pointer to 'Sbuf', which is passed as an argument to 'realloc', will cause the original memory block to be leaked. [C:\Users\Chiel.tenBrinke\Projects\graphviz\lib\cgraph\cgraph.vcxproj]
c:\users\chiel.tenbrinke\projects\graphviz\lib\cgraph\scan.l(65): warning C28182: Dereferencing NULL pointer. 'Sptr' contains the same NULL value as 'realloc()`70' did.  [C:\Users\Chiel.tenBrinke\Projects\graphviz\lib\cgraph\cgraph.vcxproj]
c:\users\chiel.tenbrinke\projects\graphviz\lib\cgraph\scan.l(94): warning C6308: 'realloc' might return null pointer: assigning null pointer to 'buf', which is passed as an argument to 'realloc', will cause the original memory block to be leaked. [C:\Users\Chiel.tenBrinke\Projects\graphviz\lib\cgraph\cgraph.vcxproj]
c:\users\chiel.tenbrinke\projects\graphviz\lib\cgraph\scan.l(98): warning C28183: 'buf' could be '0', and is a copy of the value found in 'realloc()`94':  this does not adhere to the specification for the function 'strcpy'.  [C:\Users\Chiel.tenBrinke\Projects\graphviz\lib\cgraph\cgraph.vcxproj]
c:\users\chiel.tenbrinke\projects\graphviz\lib\cgraph\scan.l(98): warning C6387: 'buf' could be '0':  this does not adhere to the specification for the function 'strcpy'.  [C:\Users\Chiel.tenBrinke\Projects\graphviz\lib\cgraph\cgraph.vcxproj]
c:\users\chiel.tenbrinke\projects\graphviz\lib\cgraph\scan.c(804): warning C28278: Function yy_create_buffer appears with no prototype in scope.  Only limited analysis can be performed. Include the appropriate header or add a prototype. This warning also occurs if parameter or return types are omitted in a function definition. [C:\Users\Chiel.tenBrinke\Projects\graphviz\lib\cgraph\cgraph.vcxproj]
c:\users\chiel.tenbrinke\projects\graphviz\lib\cgraph\scan.c(1093): warning C28278: Function yy_try_NUL_trans appears with no prototype in scope.  Only limited analysis can be performed. Include the appropriate header or add a prototype. This warning also occurs if parameter or return types are omitted in a function definition. [C:\Users\Chiel.tenBrinke\Projects\graphviz\lib\cgraph\cgraph.vcxproj]
c:\users\chiel.tenbrinke\projects\graphviz\lib\cgraph\scan.c(1138): warning C28278: Function yyrestart appears with no prototype in scope.  Only limited analysis can be performed. Include the appropriate header or add a prototype. This warning also occurs if parameter or return types are omitted in a function definition. [C:\Users\Chiel.tenBrinke\Projects\graphviz\lib\cgraph\cgraph.vcxproj]
c:\users\chiel.tenbrinke\projects\graphviz\lib\cgraph\scan.c(1167): warning C28278: Function yy_fatal_error appears with no prototype in scope.  Only limited analysis can be performed. Include the appropriate header or add a prototype. This warning also occurs if parameter or return types are omitted in a function definition. [C:\Users\Chiel.tenBrinke\Projects\graphviz\lib\cgraph\cgraph.vcxproj]
c:\users\chiel.tenbrinke\projects\graphviz\lib\cgraph\scan.c(1190): warning C28278: Function yy_fatal_error appears with no prototype in scope.  Only limited analysis can be performed. Include the appropriate header or add a prototype. This warning also occurs if parameter or return types are omitted in a function definition. [C:\Users\Chiel.tenBrinke\Projects\graphviz\lib\cgraph\cgraph.vcxproj]
c:\users\chiel.tenbrinke\projects\graphviz\lib\cgraph\scan.c(1255): warning C28278: Function yy_flex_realloc appears with no prototype in scope.  Only limited analysis can be performed. Include the appropriate header or add a prototype. This warning also occurs if parameter or return types are omitted in a function definition. [C:\Users\Chiel.tenBrinke\Projects\graphviz\lib\cgraph\cgraph.vcxproj]
c:\users\chiel.tenbrinke\projects\graphviz\lib\cgraph\scan.c(1263): warning C28278: Function yy_fatal_error appears with no prototype in scope.  Only limited analysis can be performed. Include the appropriate header or add a prototype. This warning also occurs if parameter or return types are omitted in a function definition. [C:\Users\Chiel.tenBrinke\Projects\graphviz\lib\cgraph\cgraph.vcxproj]
c:\users\chiel.tenbrinke\projects\graphviz\lib\cgraph\scan.c(1277): warning C28278: Function yy_fatal_error appears with no prototype in scope.  Only limited analysis can be performed. Include the appropriate header or add a prototype. This warning also occurs if parameter or return types are omitted in a function definition. [C:\Users\Chiel.tenBrinke\Projects\graphviz\lib\cgraph\cgraph.vcxproj]
c:\users\chiel.tenbrinke\projects\graphviz\lib\cgraph\scan.c(1288): warning C28278: Function yyrestart appears with no prototype in scope.  Only limited analysis can be performed. Include the appropriate header or add a prototype. This warning also occurs if parameter or return types are omitted in a function definition. [C:\Users\Chiel.tenBrinke\Projects\graphviz\lib\cgraph\cgraph.vcxproj]
c:\users\chiel.tenbrinke\projects\graphviz\lib\cgraph\scan.c(1266): warning C6011: Dereferencing NULL pointer 'b->yy_ch_buf'.  [C:\Users\Chiel.tenBrinke\Projects\graphviz\lib\cgraph\cgraph.vcxproj]
c:\users\chiel.tenbrinke\projects\graphviz\lib\cgraph\scan.c(1277): warning C6011: Dereferencing NULL pointer 'yy_current_buffer->yy_ch_buf'. See line 1266 for an earlier location where this can occur [C:\Users\Chiel.tenBrinke\Projects\graphviz\lib\cgraph\cgraph.vcxproj]
c:\users\chiel.tenbrinke\projects\graphviz\lib\cgraph\scan.c(1352): warning C28278: Function yy_try_NUL_trans appears with no prototype in scope.  Only limited analysis can be performed. Include the appropriate header or add a prototype. This warning also occurs if parameter or return types are omitted in a function definition. [C:\Users\Chiel.tenBrinke\Projects\graphviz\lib\cgraph\cgraph.vcxproj]
c:\users\chiel.tenbrinke\projects\graphviz\lib\cgraph\scan.c(1382): warning C28278: Function yyunput appears with no prototype in scope.  Only limited analysis can be performed. Include the appropriate header or add a prototype. This warning also occurs if parameter or return types are omitted in a function definition. [C:\Users\Chiel.tenBrinke\Projects\graphviz\lib\cgraph\cgraph.vcxproj]
c:\users\chiel.tenbrinke\projects\graphviz\lib\cgraph\scan.c(1410): warning C28278: Function yy_fatal_error appears with no prototype in scope.  Only limited analysis can be performed. Include the appropriate header or add a prototype. This warning also occurs if parameter or return types are omitted in a function definition. [C:\Users\Chiel.tenBrinke\Projects\graphviz\lib\cgraph\cgraph.vcxproj]
c:\users\chiel.tenbrinke\projects\graphviz\lib\cgraph\scan.c(1462): warning C28278: Function yyrestart appears with no prototype in scope.  Only limited analysis can be performed. Include the appropriate header or add a prototype. This warning also occurs if parameter or return types are omitted in a function definition. [C:\Users\Chiel.tenBrinke\Projects\graphviz\lib\cgraph\cgraph.vcxproj]
c:\users\chiel.tenbrinke\projects\graphviz\lib\cgraph\scan.c(1472): warning C28278: Function yyrestart appears with no prototype in scope.  Only limited analysis can be performed. Include the appropriate header or add a prototype. This warning also occurs if parameter or return types are omitted in a function definition. [C:\Users\Chiel.tenBrinke\Projects\graphviz\lib\cgraph\cgraph.vcxproj]
c:\users\chiel.tenbrinke\projects\graphviz\lib\cgraph\scan.c(1500): warning C28278: Function yyrestart appears with no prototype in scope.  Only limited analysis can be performed. Include the appropriate header or add a prototype. This warning also occurs if parameter or return types are omitted in a function definition. [C:\Users\Chiel.tenBrinke\Projects\graphviz\lib\cgraph\cgraph.vcxproj]
c:\users\chiel.tenbrinke\projects\graphviz\lib\cgraph\scan.c(1507): warning C28278: Function yy_init_buffer appears with no prototype in scope.  Only limited analysis can be performed. Include the appropriate header or add a prototype. This warning also occurs if parameter or return types are omitted in a function definition. [C:\Users\Chiel.tenBrinke\Projects\graphviz\lib\cgraph\cgraph.vcxproj]
c:\users\chiel.tenbrinke\projects\graphviz\lib\cgraph\scan.c(1505): warning C28278: Function yy_create_buffer appears with no prototype in scope.  Only limited analysis can be performed. Include the appropriate header or add a prototype. This warning also occurs if parameter or return types are omitted in a function definition. [C:\Users\Chiel.tenBrinke\Projects\graphviz\lib\cgraph\cgraph.vcxproj]
c:\users\chiel.tenbrinke\projects\graphviz\lib\cgraph\scan.c(1515): warning C28278: Function yy_switch_to_buffer appears with no prototype in scope.  Only limited analysis can be performed. Include the appropriate header or add a prototype. This warning also occurs if parameter or return types are omitted in a function definition. [C:\Users\Chiel.tenBrinke\Projects\graphviz\lib\cgraph\cgraph.vcxproj]
c:\users\chiel.tenbrinke\projects\graphviz\lib\cgraph\scan.c(1558): warning C28278: Function yy_create_buffer appears with no prototype in scope.  Only limited analysis can be performed. Include the appropriate header or add a prototype. This warning also occurs if parameter or return types are omitted in a function definition. [C:\Users\Chiel.tenBrinke\Projects\graphviz\lib\cgraph\cgraph.vcxproj]
c:\users\chiel.tenbrinke\projects\graphviz\lib\cgraph\scan.c(1565): warning C28278: Function yy_flex_alloc appears with no prototype in scope.  Only limited analysis can be performed. Include the appropriate header or add a prototype. This warning also occurs if parameter or return types are omitted in a function definition. [C:\Users\Chiel.tenBrinke\Projects\graphviz\lib\cgraph\cgraph.vcxproj]
c:\users\chiel.tenbrinke\projects\graphviz\lib\cgraph\scan.c(1574): warning C28278: Function yy_flex_alloc appears with no prototype in scope.  Only limited analysis can be performed. Include the appropriate header or add a prototype. This warning also occurs if parameter or return types are omitted in a function definition. [C:\Users\Chiel.tenBrinke\Projects\graphviz\lib\cgraph\cgraph.vcxproj]
c:\users\chiel.tenbrinke\projects\graphviz\lib\cgraph\scan.c(1567): warning C28278: Function yy_fatal_error appears with no prototype in scope.  Only limited analysis can be performed. Include the appropriate header or add a prototype. This warning also occurs if parameter or return types are omitted in a function definition. [C:\Users\Chiel.tenBrinke\Projects\graphviz\lib\cgraph\cgraph.vcxproj]
c:\users\chiel.tenbrinke\projects\graphviz\lib\cgraph\scan.c(1580): warning C28278: Function yy_init_buffer appears with no prototype in scope.  Only limited analysis can be performed. Include the appropriate header or add a prototype. This warning also occurs if parameter or return types are omitted in a function definition. [C:\Users\Chiel.tenBrinke\Projects\graphviz\lib\cgraph\cgraph.vcxproj]
c:\users\chiel.tenbrinke\projects\graphviz\lib\cgraph\scan.c(1576): warning C28278: Function yy_fatal_error appears with no prototype in scope.  Only limited analysis can be performed. Include the appropriate header or add a prototype. This warning also occurs if parameter or return types are omitted in a function definition. [C:\Users\Chiel.tenBrinke\Projects\graphviz\lib\cgraph\cgraph.vcxproj]
c:\users\chiel.tenbrinke\projects\graphviz\lib\cgraph\scan.c(1569): warning C6011: Dereferencing NULL pointer 'b'.  [C:\Users\Chiel.tenBrinke\Projects\graphviz\lib\cgraph\cgraph.vcxproj]
c:\users\chiel.tenbrinke\projects\graphviz\lib\cgraph\scan.c(1589): warning C28278: Function yy_delete_buffer appears with no prototype in scope.  Only limited analysis can be performed. Include the appropriate header or add a prototype. This warning also occurs if parameter or return types are omitted in a function definition. [C:\Users\Chiel.tenBrinke\Projects\graphviz\lib\cgraph\cgraph.vcxproj]
c:\users\chiel.tenbrinke\projects\graphviz\lib\cgraph\scan.c(1602): warning C28278: Function yy_flex_free appears with no prototype in scope.  Only limited analysis can be performed. Include the appropriate header or add a prototype. This warning also occurs if parameter or return types are omitted in a function definition. [C:\Users\Chiel.tenBrinke\Projects\graphviz\lib\cgraph\cgraph.vcxproj]
c:\users\chiel.tenbrinke\projects\graphviz\lib\cgraph\scan.c(1600): warning C28278: Function yy_flex_free appears with no prototype in scope.  Only limited analysis can be performed. Include the appropriate header or add a prototype. This warning also occurs if parameter or return types are omitted in a function definition. [C:\Users\Chiel.tenBrinke\Projects\graphviz\lib\cgraph\cgraph.vcxproj]
c:\users\chiel.tenbrinke\projects\graphviz\lib\cgraph\scan.c(1633): warning C6326: Potential comparison of a constant with another constant. [C:\Users\Chiel.tenBrinke\Projects\graphviz\lib\cgraph\cgraph.vcxproj]
c:\users\chiel.tenbrinke\projects\graphviz\lib\cgraph\scan.c(1615): warning C28278: Function yy_init_buffer appears with no prototype in scope.  Only limited analysis can be performed. Include the appropriate header or add a prototype. This warning also occurs if parameter or return types are omitted in a function definition. [C:\Users\Chiel.tenBrinke\Projects\graphviz\lib\cgraph\cgraph.vcxproj]
c:\users\chiel.tenbrinke\projects\graphviz\lib\cgraph\scan.c(1622): warning C28278: Function yy_flush_buffer appears with no prototype in scope.  Only limited analysis can be performed. Include the appropriate header or add a prototype. This warning also occurs if parameter or return types are omitted in a function definition. [C:\Users\Chiel.tenBrinke\Projects\graphviz\lib\cgraph\cgraph.vcxproj]
c:\users\chiel.tenbrinke\projects\graphviz\lib\cgraph\scan.c(1642): warning C28278: Function yy_flush_buffer appears with no prototype in scope.  Only limited analysis can be performed. Include the appropriate header or add a prototype. This warning also occurs if parameter or return types are omitted in a function definition. [C:\Users\Chiel.tenBrinke\Projects\graphviz\lib\cgraph\cgraph.vcxproj]
c:\users\chiel.tenbrinke\projects\graphviz\lib\cgraph\scan.c(1673): warning C28278: Function yy_scan_buffer appears with no prototype in scope.  Only limited analysis can be performed. Include the appropriate header or add a prototype. This warning also occurs if parameter or return types are omitted in a function definition. [C:\Users\Chiel.tenBrinke\Projects\graphviz\lib\cgraph\cgraph.vcxproj]
c:\users\chiel.tenbrinke\projects\graphviz\lib\cgraph\scan.c(1686): warning C28278: Function yy_flex_alloc appears with no prototype in scope.  Only limited analysis can be performed. Include the appropriate header or add a prototype. This warning also occurs if parameter or return types are omitted in a function definition. [C:\Users\Chiel.tenBrinke\Projects\graphviz\lib\cgraph\cgraph.vcxproj]
c:\users\chiel.tenbrinke\projects\graphviz\lib\cgraph\scan.c(1700): warning C28278: Function yy_switch_to_buffer appears with no prototype in scope.  Only limited analysis can be performed. Include the appropriate header or add a prototype. This warning also occurs if parameter or return types are omitted in a function definition. [C:\Users\Chiel.tenBrinke\Projects\graphviz\lib\cgraph\cgraph.vcxproj]
c:\users\chiel.tenbrinke\projects\graphviz\lib\cgraph\scan.c(1688): warning C28278: Function yy_fatal_error appears with no prototype in scope.  Only limited analysis can be performed. Include the appropriate header or add a prototype. This warning also occurs if parameter or return types are omitted in a function definition. [C:\Users\Chiel.tenBrinke\Projects\graphviz\lib\cgraph\cgraph.vcxproj]
c:\users\chiel.tenbrinke\projects\graphviz\lib\cgraph\scan.c(1690): warning C6011: Dereferencing NULL pointer 'b'.  [C:\Users\Chiel.tenBrinke\Projects\graphviz\lib\cgraph\cgraph.vcxproj]
c:\users\chiel.tenbrinke\projects\graphviz\lib\cgraph\scan.c(1711): warning C28278: Function yy_scan_string appears with no prototype in scope.  Only limited analysis can be performed. Include the appropriate header or add a prototype. This warning also occurs if parameter or return types are omitted in a function definition. [C:\Users\Chiel.tenBrinke\Projects\graphviz\lib\cgraph\cgraph.vcxproj]
c:\users\chiel.tenbrinke\projects\graphviz\lib\cgraph\scan.c(1719): warning C28278: Function yy_scan_bytes appears with no prototype in scope.  Only limited analysis can be performed. Include the appropriate header or add a prototype. This warning also occurs if parameter or return types are omitted in a function definition. [C:\Users\Chiel.tenBrinke\Projects\graphviz\lib\cgraph\cgraph.vcxproj]
c:\users\chiel.tenbrinke\projects\graphviz\lib\cgraph\scan.c(1728): warning C28278: Function yy_scan_bytes appears with no prototype in scope.  Only limited analysis can be performed. Include the appropriate header or add a prototype. This warning also occurs if parameter or return types are omitted in a function definition. [C:\Users\Chiel.tenBrinke\Projects\graphviz\lib\cgraph\cgraph.vcxproj]
c:\users\chiel.tenbrinke\projects\graphviz\lib\cgraph\scan.c(1740): warning C28278: Function yy_flex_alloc appears with no prototype in scope.  Only limited analysis can be performed. Include the appropriate header or add a prototype. This warning also occurs if parameter or return types are omitted in a function definition. [C:\Users\Chiel.tenBrinke\Projects\graphviz\lib\cgraph\cgraph.vcxproj]
c:\users\chiel.tenbrinke\projects\graphviz\lib\cgraph\scan.c(1742): warning C28278: Function yy_fatal_error appears with no prototype in scope.  Only limited analysis can be performed. Include the appropriate header or add a prototype. This warning also occurs if parameter or return types are omitted in a function definition. [C:\Users\Chiel.tenBrinke\Projects\graphviz\lib\cgraph\cgraph.vcxproj]
c:\users\chiel.tenbrinke\projects\graphviz\lib\cgraph\scan.c(1749): warning C28278: Function yy_scan_buffer appears with no prototype in scope.  Only limited analysis can be performed. Include the appropriate header or add a prototype. This warning also occurs if parameter or return types are omitted in a function definition. [C:\Users\Chiel.tenBrinke\Projects\graphviz\lib\cgraph\cgraph.vcxproj]
c:\users\chiel.tenbrinke\projects\graphviz\lib\cgraph\scan.c(1751): warning C28278: Function yy_fatal_error appears with no prototype in scope.  Only limited analysis can be performed. Include the appropriate header or add a prototype. This warning also occurs if parameter or return types are omitted in a function definition. [C:\Users\Chiel.tenBrinke\Projects\graphviz\lib\cgraph\cgraph.vcxproj]
c:\users\chiel.tenbrinke\projects\graphviz\lib\cgraph\scan.c(1756): warning C6011: Dereferencing NULL pointer 'b'.  [C:\Users\Chiel.tenBrinke\Projects\graphviz\lib\cgraph\cgraph.vcxproj]
c:\users\chiel.tenbrinke\projects\graphviz\lib\cgraph\scan.c(1747): warning C6011: Dereferencing NULL pointer 'buf'.  [C:\Users\Chiel.tenBrinke\Projects\graphviz\lib\cgraph\cgraph.vcxproj]
c:\users\chiel.tenbrinke\projects\graphviz\lib\cgraph\scan.c(1822): warning C28278: Function yy_fatal_error appears with no prototype in scope.  Only limited analysis can be performed. Include the appropriate header or add a prototype. This warning also occurs if parameter or return types are omitted in a function definition. [C:\Users\Chiel.tenBrinke\Projects\graphviz\lib\cgraph\cgraph.vcxproj]
c:\users\chiel.tenbrinke\projects\graphviz\lib\cgraph\scan.c(1886): warning C28278: Function yy_flex_alloc appears with no prototype in scope.  Only limited analysis can be performed. Include the appropriate header or add a prototype. This warning also occurs if parameter or return types are omitted in a function definition. [C:\Users\Chiel.tenBrinke\Projects\graphviz\lib\cgraph\cgraph.vcxproj]
c:\users\chiel.tenbrinke\projects\graphviz\lib\cgraph\scan.c(1896): warning C28278: Function yy_flex_realloc appears with no prototype in scope.  Only limited analysis can be performed. Include the appropriate header or add a prototype. This warning also occurs if parameter or return types are omitted in a function definition. [C:\Users\Chiel.tenBrinke\Projects\graphviz\lib\cgraph\cgraph.vcxproj]
c:\users\chiel.tenbrinke\projects\graphviz\lib\cgraph\scan.c(1914): warning C28278: Function yy_flex_free appears with no prototype in scope.  Only limited analysis can be performed. Include the appropriate header or add a prototype. This warning also occurs if parameter or return types are omitted in a function definition. [C:\Users\Chiel.tenBrinke\Projects\graphviz\lib\cgraph\cgraph.vcxproj]
c:\users\chiel.tenbrinke\projects\graphviz\lib\cgraph\scan.l(281): warning C28278: Function yyunput appears with no prototype in scope.  Only limited analysis can be performed. Include the appropriate header or add a prototype. This warning also occurs if parameter or return types are omitted in a function definition. [C:\Users\Chiel.tenBrinke\Projects\graphviz\lib\cgraph\cgraph.vcxproj]
c:\users\chiel.tenbrinke\projects\graphviz\lib\cgraph\scan.l(283): warning C28278: Function yy_flush_buffer appears with no prototype in scope.  Only limited analysis can be performed. Include the appropriate header or add a prototype. This warning also occurs if parameter or return types are omitted in a function definition. [C:\Users\Chiel.tenBrinke\Projects\graphviz\lib\cgraph\cgraph.vcxproj]
c:\users\chiel.tenbrinke\projects\graphviz\lib\cgraph\write.c(124): warning C6330: 'char' passed as _Param_(1) when 'unsigned char' is required in call to 'isalnum'. [C:\Users\Chiel.tenBrinke\Projects\graphviz\lib\cgraph\cgraph.vcxproj]
c:\users\chiel.tenbrinke\projects\graphviz\lib\cgraph\write.c(131): warning C6330: 'char' passed as _Param_(1) when 'unsigned char' is required in call to 'isalnum'. [C:\Users\Chiel.tenBrinke\Projects\graphviz\lib\cgraph\cgraph.vcxproj]
c:\users\chiel.tenbrinke\projects\graphviz\lib\cgraph\write.c(194): warning C6308: 'realloc' might return null pointer: assigning null pointer to 'rv', which is passed as an argument to 'realloc', will cause the original memory block to be leaked. [C:\Users\Chiel.tenBrinke\Projects\graphviz\lib\cgraph\cgraph.vcxproj]
c:\users\chiel.tenbrinke\projects\graphviz\lib\cgraph\write.c(522): warning C6328: Size mismatch: 'unsigned __int64' passed as _Param_(3) when 'int' is required in call to 'sprintf'.  [C:\Users\Chiel.tenBrinke\Projects\graphviz\lib\cgraph\cgraph.vcxproj]
c:\users\chiel.tenbrinke\projects\graphviz\lib\cgraph\write.c(522): warning C6340: Mismatch on sign: 'unsigned __int64' passed as _Param_(3) when some signed type is required in call to 'sprintf'. [C:\Users\Chiel.tenBrinke\Projects\graphviz\lib\cgraph\cgraph.vcxproj]
c:\users\chiel.tenbrinke\projects\graphviz\lib\cgraph\write.c(681): warning C6330: 'char' passed as _Param_(1) when 'unsigned char' is required in call to 'isdigit'. [C:\Users\Chiel.tenBrinke\Projects\graphviz\lib\cgraph\cgraph.vcxproj]
FinalizeBuildStatus:
  Deleting file "Debug\cgraph.tlog\unsuccessfulbuild".
  Touching "Debug\cgraph.tlog\cgraph.lastbuildstate".
Done Building Project "C:\Users\Chiel.tenBrinke\Projects\graphviz\lib\cgraph\cgraph.vcxproj" (default targets).
InitializeBuildStatus:
  Creating "Debug\xdot.tlog\unsuccessfulbuild" because "AlwaysCreate" was specified.
ClCompile:
  All outputs are up-to-date.
Lib:
  All outputs are up-to-date.
  xdot.vcxproj -> C:\Users\Chiel.tenBrinke\Projects\graphviz\Debug\Graphviz\bin\xdot.lib
RunMergeNativeCodeAnalysis:
Skipping target "RunMergeNativeCodeAnalysis" because all output files are up-to-date with respect to the input files.
RunNativeCodeAnalysis:
Skipping target "RunNativeCodeAnalysis" because all output files are up-to-date with respect to the input files.
FinalizeBuildStatus:
  Deleting file "Debug\xdot.tlog\unsuccessfulbuild".
  Touching "Debug\xdot.tlog\xdot.lastbuildstate".
Done Building Project "C:\Users\Chiel.tenBrinke\Projects\graphviz\lib\xdot\xdot.vcxproj" (default targets).
InitializeBuildStatus:
  Touching "Debug\gvc.tlog\unsuccessfulbuild".
PreBuildEvent:
  bison -dy common\htmlparse.y -o common\htmlparse-intermediate.c
  sed "s/yy/html/g" < common\htmlparse-intermediate.c > common\htmlparse.c
  sed "s/yy/html/g" < common\htmlparse-intermediate.h > common\htmlparse.h
  del common\htmlparse-intermediate.c
  del common\htmlparse-intermediate.h
  :VCEnd
  conflicts: 2 shift/reduce
ClCompile:
  C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\CL.exe /c /IC:\Users\Chiel.tenBrinke\Projects\graphviz\windows\include /IC:\Users\Chiel.tenBrinke\Projects\graphviz\windows\dependencies\rxspencer\include\rxspencer /IC:\Users\Chiel.tenBrinke\Projects\graphviz\windows\dependencies\GTK2\include /IC:\Users\Chiel.tenBrinke\Projects\graphviz\windows\dependencies\expat\Source\lib /IC:\Users\Chiel.tenBrinke\Projects\graphviz\windows\dependencies\libtool\include /IC:\Users\Chiel.tenBrinke\Projects\graphviz\ /IC:\Users\Chiel.tenBrinke\Projects\graphviz\lib\cdt /IC:\Users\Chiel.tenBrinke\Projects\graphviz\lib\cgraph /IC:\Users\Chiel.tenBrinke\Projects\graphviz\lib\common /IC:\Users\Chiel.tenBrinke\Projects\graphviz\lib\fdpgen /IC:\Users\Chiel.tenBrinke\Projects\graphviz\lib\label /IC:\Users\Chiel.tenBrinke\Projects\graphviz\lib\pathplan /IC:\Users\Chiel.tenBrinke\Projects\graphviz\lib\gvc /IC:\Users\Chiel.tenBrinke\Projects\graphviz\lib\xdot /ZI /nologo /W4 /WX- /Od /Oy- /D CODE_ANALYSIS /D MSWIN32 /D WIN32 /D _DEBUG /D _WINDOWS /D _USRDLL /D GVC_EXPORTS /D WIN32_DLL /D _WINDLL /Gm /EHsc /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /Fo"Debug\\" /Fd"Debug\vc140.pdb" /Gd /TC /wd4996 /analyze /analyze:plugin"C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\\bin\localespc.dll" /errorReport:queue   /analyze:quiet common\htmllex.c common\htmlparse.c common\utils.c
  utils.c
c:\users\chiel.tenbrinke\projects\graphviz\lib\common\utils.c(22): fatal error C1083: Cannot open include file: 'libltdl/lt_system.h': No such file or directory [C:\Users\Chiel.tenBrinke\Projects\graphviz\lib\gvc.vcxproj]
  htmlparse.c
common\htmlparse.y(42): warning C4100: 'ds': unreferenced formal parameter [C:\Users\Chiel.tenBrinke\Projects\graphviz\lib\gvc.vcxproj]
common\htmlparse.y(42): warning C4100: 'd': unreferenced formal parameter [C:\Users\Chiel.tenBrinke\Projects\graphviz\lib\gvc.vcxproj]
common\htmlparse.y(53): warning C4100: 'ds': unreferenced formal parameter [C:\Users\Chiel.tenBrinke\Projects\graphviz\lib\gvc.vcxproj]
common\htmlparse.y(53): warning C4100: 'd': unreferenced formal parameter [C:\Users\Chiel.tenBrinke\Projects\graphviz\lib\gvc.vcxproj]
common\htmlparse.y(85): warning C4100: 'ds': unreferenced formal parameter [C:\Users\Chiel.tenBrinke\Projects\graphviz\lib\gvc.vcxproj]
common\htmlparse.y(85): warning C4100: 'd': unreferenced formal parameter [C:\Users\Chiel.tenBrinke\Projects\graphviz\lib\gvc.vcxproj]
common\htmlparse.y(125): warning C4100: 'ds': unreferenced formal parameter [C:\Users\Chiel.tenBrinke\Projects\graphviz\lib\gvc.vcxproj]
common\htmlparse.y(125): warning C4100: 'd': unreferenced formal parameter [C:\Users\Chiel.tenBrinke\Projects\graphviz\lib\gvc.vcxproj]
common\htmlparse.y(133): warning C4100: 'ds': unreferenced formal parameter [C:\Users\Chiel.tenBrinke\Projects\graphviz\lib\gvc.vcxproj]
common\htmlparse.y(133): warning C4100: 'd': unreferenced formal parameter [C:\Users\Chiel.tenBrinke\Projects\graphviz\lib\gvc.vcxproj]
common\htmlparse.y(198): warning C4244: '=': conversion from 'int' to 'char', possible loss of data [C:\Users\Chiel.tenBrinke\Projects\graphviz\lib\gvc.vcxproj]
common\htmlparse.y(201): warning C4244: '=': conversion from 'int' to 'short', possible loss of data [C:\Users\Chiel.tenBrinke\Projects\graphviz\lib\gvc.vcxproj]
common\htmlparse.y(237): warning C4244: '=': conversion from 'int' to 'short', possible loss of data [C:\Users\Chiel.tenBrinke\Projects\graphviz\lib\gvc.vcxproj]
common\htmlparse.y(286): warning C4244: '=': conversion from 'int' to 'char', possible loss of data [C:\Users\Chiel.tenBrinke\Projects\graphviz\lib\gvc.vcxproj]
common\htmlparse.y(305): warning C4244: '=': conversion from 'int' to 'char', possible loss of data [C:\Users\Chiel.tenBrinke\Projects\graphviz\lib\gvc.vcxproj]
common\htmlparse-intermediate.c(756): warning C4565: 'malloc': redefinition; the symbol was previously declared with __declspec(restrict) [C:\Users\Chiel.tenBrinke\Projects\graphviz\lib\gvc.vcxproj]
common\htmlparse-intermediate.c(756): warning C4273: 'malloc': inconsistent dll linkage [C:\Users\Chiel.tenBrinke\Projects\graphviz\lib\gvc.vcxproj]
  c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_malloc.h(97): note: see previous definition of 'malloc'
common\htmlparse-intermediate.c(763): warning C4273: 'free': inconsistent dll linkage [C:\Users\Chiel.tenBrinke\Projects\graphviz\lib\gvc.vcxproj]
  c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_malloc.h(85): note: see previous definition of 'free'
common\htmlparse-intermediate.c(1777): warning C4244: '=': conversion from 'int' to 'htmltype_int16', possible loss of data [C:\Users\Chiel.tenBrinke\Projects\graphviz\lib\gvc.vcxproj]
  htmllex.c
c:\users\chiel.tenbrinke\projects\graphviz\lib\common\htmllex.c(768): warning C4100: 'env': unreferenced formal parameter [C:\Users\Chiel.tenBrinke\Projects\graphviz\lib\gvc.vcxproj]
c:\users\chiel.tenbrinke\projects\graphviz\lib\common\htmllex.c(768): warning C4100: 'xb': unreferenced formal parameter [C:\Users\Chiel.tenBrinke\Projects\graphviz\lib\gvc.vcxproj]
c:\users\chiel.tenbrinke\projects\graphviz\lib\common\htmllex.c(768): warning C4100: 'src': unreferenced formal parameter [C:\Users\Chiel.tenBrinke\Projects\graphviz\lib\gvc.vcxproj]
  Running Code Analysis for C/C++...
  Generating Code...
c:\users\chiel.tenbrinke\projects\graphviz\lib\common\htmlparse-intermediate.c(2422): warning C4702: unreachable code [C:\Users\Chiel.tenBrinke\Projects\graphviz\lib\gvc.vcxproj]
c:\users\chiel.tenbrinke\projects\graphviz\lib\common\htmlparse.y(323): warning C4706: assignment within conditional expression [C:\Users\Chiel.tenBrinke\Projects\graphviz\lib\gvc.vcxproj]
Done Building Project "C:\Users\Chiel.tenBrinke\Projects\graphviz\lib\gvc.vcxproj" (default targets) -- FAILED.
Done Building Project "C:\Users\Chiel.tenBrinke\Projects\graphviz\graphviz.sln" (gvc target(s)) -- FAILED.

Build FAILED.

"C:\Users\Chiel.tenBrinke\Projects\graphviz\graphviz.sln" (gvc target) (1) ->
"C:\Users\Chiel.tenBrinke\Projects\graphviz\lib\gvc.vcxproj" (default target) (2) ->
"C:\Users\Chiel.tenBrinke\Projects\graphviz\lib\xdot\xdot.vcxproj" (default target) (6) ->
"C:\Users\Chiel.tenBrinke\Projects\graphviz\lib\cgraph\cgraph.vcxproj" (default target) (7) ->
(ClCompile target) ->
  scan.c(836): warning C4244: '=': conversion from 'int' to 'YY_CHAR', possible loss of data [C:\Users\Chiel.tenBrinke\Projects\graphviz\lib\cgraph\cgraph.vcxproj]
  scan.c(826): warning C4244: 'initializing': conversion from 'int' to 'YY_CHAR', possible loss of data [C:\Users\Chiel.tenBrinke\Projects\graphviz\lib\cgraph\cgraph.vcxproj]
  scan.c(1334): warning C4244: '=': conversion from 'int' to 'YY_CHAR', possible loss of data [C:\Users\Chiel.tenBrinke\Projects\graphviz\lib\cgraph\cgraph.vcxproj]
  scan.c(1324): warning C4244: 'initializing': conversion from 'int' to 'YY_CHAR', possible loss of data [C:\Users\Chiel.tenBrinke\Projects\graphviz\lib\cgraph\cgraph.vcxproj]
  scan.c(1353): warning C4131: 'yy_try_NUL_trans': uses old-style declarator [C:\Users\Chiel.tenBrinke\Projects\graphviz\lib\cgraph\cgraph.vcxproj]
  scan.c(1369): warning C4244: '=': conversion from 'int' to 'YY_CHAR', possible loss of data [C:\Users\Chiel.tenBrinke\Projects\graphviz\lib\cgraph\cgraph.vcxproj]
  scan.c(1383): warning C4131: 'yyunput': uses old-style declarator [C:\Users\Chiel.tenBrinke\Projects\graphviz\lib\cgraph\cgraph.vcxproj]
  scan.c(1501): warning C4131: 'yyrestart': uses old-style declarator [C:\Users\Chiel.tenBrinke\Projects\graphviz\lib\cgraph\cgraph.vcxproj]
  scan.c(1516): warning C4131: 'yy_switch_to_buffer': uses old-style declarator [C:\Users\Chiel.tenBrinke\Projects\graphviz\lib\cgraph\cgraph.vcxproj]
  scan.c(1559): warning C4131: 'yy_create_buffer': uses old-style declarator [C:\Users\Chiel.tenBrinke\Projects\graphviz\lib\cgraph\cgraph.vcxproj]
  scan.c(1590): warning C4131: 'yy_delete_buffer': uses old-style declarator [C:\Users\Chiel.tenBrinke\Projects\graphviz\lib\cgraph\cgraph.vcxproj]
  scan.c(1616): warning C4131: 'yy_init_buffer': uses old-style declarator [C:\Users\Chiel.tenBrinke\Projects\graphviz\lib\cgraph\cgraph.vcxproj]
  scan.c(1643): warning C4131: 'yy_flush_buffer': uses old-style declarator [C:\Users\Chiel.tenBrinke\Projects\graphviz\lib\cgraph\cgraph.vcxproj]
  scan.c(1674): warning C4131: 'yy_scan_buffer': uses old-style declarator [C:\Users\Chiel.tenBrinke\Projects\graphviz\lib\cgraph\cgraph.vcxproj]
  scan.c(1712): warning C4131: 'yy_scan_string': uses old-style declarator [C:\Users\Chiel.tenBrinke\Projects\graphviz\lib\cgraph\cgraph.vcxproj]
  scan.c(1729): warning C4131: 'yy_scan_bytes': uses old-style declarator [C:\Users\Chiel.tenBrinke\Projects\graphviz\lib\cgraph\cgraph.vcxproj]
  scan.c(1823): warning C4131: 'yy_fatal_error': uses old-style declarator [C:\Users\Chiel.tenBrinke\Projects\graphviz\lib\cgraph\cgraph.vcxproj]
  scan.c(1887): warning C4131: 'yy_flex_alloc': uses old-style declarator [C:\Users\Chiel.tenBrinke\Projects\graphviz\lib\cgraph\cgraph.vcxproj]
  scan.c(1897): warning C4131: 'yy_flex_realloc': uses old-style declarator [C:\Users\Chiel.tenBrinke\Projects\graphviz\lib\cgraph\cgraph.vcxproj]
  scan.c(1915): warning C4131: 'yy_flex_free': uses old-style declarator [C:\Users\Chiel.tenBrinke\Projects\graphviz\lib\cgraph\cgraph.vcxproj]
  grammar.c(364): warning C4565: 'malloc': redefinition; the symbol was previously declared with __declspec(restrict) [C:\Users\Chiel.tenBrinke\Projects\graphviz\lib\cgraph\cgraph.vcxproj]
  grammar.c(364): warning C4273: 'malloc': inconsistent dll linkage [C:\Users\Chiel.tenBrinke\Projects\graphviz\lib\cgraph\cgraph.vcxproj]
  grammar.c(371): warning C4273: 'free': inconsistent dll linkage [C:\Users\Chiel.tenBrinke\Projects\graphviz\lib\cgraph\cgraph.vcxproj]
  grammar.c(1317): warning C4244: '=': conversion from 'int' to 'yytype_int16', possible loss of data [C:\Users\Chiel.tenBrinke\Projects\graphviz\lib\cgraph\cgraph.vcxproj]
  grammar.c(1406): warning C4013: 'yylex' undefined; assuming extern returning int [C:\Users\Chiel.tenBrinke\Projects\graphviz\lib\cgraph\cgraph.vcxproj]
  grammar.y(399): warning C4100: 'x': unreferenced formal parameter [C:\Users\Chiel.tenBrinke\Projects\graphviz\lib\cgraph\cgraph.vcxproj]
  c:\users\chiel.tenbrinke\projects\graphviz\lib\cgraph\grammar.c(1840): warning C4702: unreachable code [C:\Users\Chiel.tenBrinke\Projects\graphviz\lib\cgraph\cgraph.vcxproj]

"C:\Users\Chiel.tenBrinke\Projects\graphviz\graphviz.sln" (gvc target) (1) ->
"C:\Users\Chiel.tenBrinke\Projects\graphviz\lib\gvc.vcxproj" (default target) (2) ->
"C:\Users\Chiel.tenBrinke\Projects\graphviz\lib\xdot\xdot.vcxproj" (default target) (6) ->
"C:\Users\Chiel.tenBrinke\Projects\graphviz\lib\cgraph\cgraph.vcxproj" (default target) (7) ->
(RunNativeCodeAnalysis target) ->
  c:\users\chiel.tenbrinke\projects\graphviz\lib\cgraph\agerror.c(54): warning C6387: 'buf' could be '0':  this does not adhere to the specification for the function 'fread'.  [C:\Users\Chiel.tenBrinke\Projects\graphviz\lib\cgraph\cgraph.vcxproj]
  c:\users\chiel.tenbrinke\projects\graphviz\lib\cgraph\agerror.c(55): warning C6011: Dereferencing NULL pointer 'buf'. See line 54 for an earlier location where this can occur [C:\Users\Chiel.tenBrinke\Projects\graphviz\lib\cgraph\cgraph.vcxproj]
  c:\users\chiel.tenbrinke\projects\graphviz\lib\cgraph\agerror.c(86): warning C6386: Buffer overrun while writing to 'buf':  the writable size is 'bufsz' bytes, but '1' bytes might be written. [C:\Users\Chiel.tenBrinke\Projects\graphviz\lib\cgraph\cgraph.vcxproj]
  c:\users\chiel.tenbrinke\projects\graphviz\lib\cgraph\agxbuf.c(38): warning C6011: Dereferencing NULL pointer 'xb->ptr'.  [C:\Users\Chiel.tenBrinke\Projects\graphviz\lib\cgraph\cgraph.vcxproj]
  c:\users\chiel.tenbrinke\projects\graphviz\lib\cgraph\agxbuf.c(60): warning C6387: 'nbuf' could be '0':  this does not adhere to the specification for the function 'memcpy'.  [C:\Users\Chiel.tenBrinke\Projects\graphviz\lib\cgraph\cgraph.vcxproj]
  c:\users\chiel.tenbrinke\projects\graphviz\lib\cgraph\grammar.c(364): warning C28251: Inconsistent annotation for 'malloc': this instance has no annotations. See c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_malloc.h(97).  [C:\Users\Chiel.tenBrinke\Projects\graphviz\lib\cgraph\cgraph.vcxproj]
  c:\users\chiel.tenbrinke\projects\graphviz\lib\cgraph\grammar.c(371): warning C28251: Inconsistent annotation for 'free': this instance has no annotations. See c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt_malloc.h(85).  [C:\Users\Chiel.tenBrinke\Projects\graphviz\lib\cgraph\cgraph.vcxproj]
  c:\users\chiel.tenbrinke\projects\graphviz\lib\cgraph\grammar.c(1396): warning C6385: Reading invalid data from 'yypact':  the readable size is '80' bytes, but 'yystate' bytes may be read. [C:\Users\Chiel.tenBrinke\Projects\graphviz\lib\cgraph\cgraph.vcxproj]
  c:\users\chiel.tenbrinke\projects\graphviz\lib\cgraph\grammar.c(1476): warning C28199: Using possibly uninitialized memory '*yyvs':  The variable has had its address taken but no assignment to it has been discovered. [C:\Users\Chiel.tenBrinke\Projects\graphviz\lib\cgraph\cgraph.vcxproj]
  c:\users\chiel.tenbrinke\projects\graphviz\lib\cgraph\grammar.y(459): warning C6387: 'sym' could be '0':  this does not adhere to the specification for the function 'strcpy'.  [C:\Users\Chiel.tenBrinke\Projects\graphviz\lib\cgraph\cgraph.vcxproj]
  c:\users\chiel.tenbrinke\projects\graphviz\lib\cgraph\grammar.y(460): warning C6387: 'sym' could be '0':  this does not adhere to the specification for the function 'strcat'. See line 459 for an earlier location where this can occur [C:\Users\Chiel.tenBrinke\Projects\graphviz\lib\cgraph\cgraph.vcxproj]
  c:\users\chiel.tenbrinke\projects\graphviz\lib\cgraph\grammar.y(480): warning C6387: 'sym' could be '0':  this does not adhere to the specification for the function 'sprintf'.  [C:\Users\Chiel.tenBrinke\Projects\graphviz\lib\cgraph\cgraph.vcxproj]
  c:\users\chiel.tenbrinke\projects\graphviz\lib\cgraph\id.c(160): warning C6328: Size mismatch: 'unsigned __int64' passed as _Param_(4) when 'int' is required in call to 'sprintf'.  [C:\Users\Chiel.tenBrinke\Projects\graphviz\lib\cgraph\cgraph.vcxproj]
  c:\users\chiel.tenbrinke\projects\graphviz\lib\cgraph\id.c(160): warning C6340: Mismatch on sign: 'unsigned __int64' passed as _Param_(4) when some signed type is required in call to 'sprintf'. [C:\Users\Chiel.tenBrinke\Projects\graphviz\lib\cgraph\cgraph.vcxproj]
  c:\users\chiel.tenbrinke\projects\graphviz\lib\cgraph\mem.c(28): warning C6387: 'rv' could be '0':  this does not adhere to the specification for the function 'memset'.  [C:\Users\Chiel.tenBrinke\Projects\graphviz\lib\cgraph\cgraph.vcxproj]
  c:\users\chiel.tenbrinke\projects\graphviz\lib\cgraph\mem.c(40): warning C6387: '(char *)rv+oldsize' could be '0':  this does not adhere to the specification for the function 'memset'.  [C:\Users\Chiel.tenBrinke\Projects\graphviz\lib\cgraph\cgraph.vcxproj]
  c:\users\chiel.tenbrinke\projects\graphviz\lib\cgraph\pend.c(127): warning C6011: Dereferencing NULL pointer 'dict_ref'.  [C:\Users\Chiel.tenBrinke\Projects\graphviz\lib\cgraph\cgraph.vcxproj]
  c:\users\chiel.tenbrinke\projects\graphviz\lib\cgraph\refstr.c(115): warning C6011: Dereferencing NULL pointer 'r'.  [C:\Users\Chiel.tenBrinke\Projects\graphviz\lib\cgraph\cgraph.vcxproj]
  c:\users\chiel.tenbrinke\projects\graphviz\lib\cgraph\refstr.c(141): warning C6011: Dereferencing NULL pointer 'r'.  [C:\Users\Chiel.tenBrinke\Projects\graphviz\lib\cgraph\cgraph.vcxproj]
  c:\users\chiel.tenbrinke\projects\graphviz\lib\cgraph\scan.l(58): warning C6011: Dereferencing NULL pointer 'Sptr'.  [C:\Users\Chiel.tenBrinke\Projects\graphviz\lib\cgraph\cgraph.vcxproj]
  c:\users\chiel.tenbrinke\projects\graphviz\lib\cgraph\scan.l(70): warning C6308: 'realloc' might return null pointer: assigning null pointer to 'Sbuf', which is passed as an argument to 'realloc', will cause the original memory block to be leaked. [C:\Users\Chiel.tenBrinke\Projects\graphviz\lib\cgraph\cgraph.vcxproj]
  c:\users\chiel.tenbrinke\projects\graphviz\lib\cgraph\scan.l(65): warning C28182: Dereferencing NULL pointer. 'Sptr' contains the same NULL value as 'realloc()`70' did.  [C:\Users\Chiel.tenBrinke\Projects\graphviz\lib\cgraph\cgraph.vcxproj]
  c:\users\chiel.tenbrinke\projects\graphviz\lib\cgraph\scan.l(94): warning C6308: 'realloc' might return null pointer: assigning null pointer to 'buf', which is passed as an argument to 'realloc', will cause the original memory block to be leaked. [C:\Users\Chiel.tenBrinke\Projects\graphviz\lib\cgraph\cgraph.vcxproj]
  c:\users\chiel.tenbrinke\projects\graphviz\lib\cgraph\scan.l(98): warning C28183: 'buf' could be '0', and is a copy of the value found in 'realloc()`94':  this does not adhere to the specification for the function 'strcpy'.  [C:\Users\Chiel.tenBrinke\Projects\graphviz\lib\cgraph\cgraph.vcxproj]
  c:\users\chiel.tenbrinke\projects\graphviz\lib\cgraph\scan.l(98): warning C6387: 'buf' could be '0':  this does not adhere to the specification for the function 'strcpy'.  [C:\Users\Chiel.tenBrinke\Projects\graphviz\lib\cgraph\cgraph.vcxproj]
  c:\users\chiel.tenbrinke\projects\graphviz\lib\cgraph\scan.c(804): warning C28278: Function yy_create_buffer appears with no prototype in scope.  Only limited analysis can be performed. Include the appropriate header or add a prototype. This warning also occurs if parameter or return types are omitted in a function definition. [C:\Users\Chiel.tenBrinke\Projects\graphviz\lib\cgraph\cgraph.vcxproj]
  c:\users\chiel.tenbrinke\projects\graphviz\lib\cgraph\scan.c(1093): warning C28278: Function yy_try_NUL_trans appears with no prototype in scope.  Only limited analysis can be performed. Include the appropriate header or add a prototype. This warning also occurs if parameter or return types are omitted in a function definition. [C:\Users\Chiel.tenBrinke\Projects\graphviz\lib\cgraph\cgraph.vcxproj]
  c:\users\chiel.tenbrinke\projects\graphviz\lib\cgraph\scan.c(1138): warning C28278: Function yyrestart appears with no prototype in scope.  Only limited analysis can be performed. Include the appropriate header or add a prototype. This warning also occurs if parameter or return types are omitted in a function definition. [C:\Users\Chiel.tenBrinke\Projects\graphviz\lib\cgraph\cgraph.vcxproj]
  c:\users\chiel.tenbrinke\projects\graphviz\lib\cgraph\scan.c(1167): warning C28278: Function yy_fatal_error appears with no prototype in scope.  Only limited analysis can be performed. Include the appropriate header or add a prototype. This warning also occurs if parameter or return types are omitted in a function definition. [C:\Users\Chiel.tenBrinke\Projects\graphviz\lib\cgraph\cgraph.vcxproj]
  c:\users\chiel.tenbrinke\projects\graphviz\lib\cgraph\scan.c(1190): warning C28278: Function yy_fatal_error appears with no prototype in scope.  Only limited analysis can be performed. Include the appropriate header or add a prototype. This warning also occurs if parameter or return types are omitted in a function definition. [C:\Users\Chiel.tenBrinke\Projects\graphviz\lib\cgraph\cgraph.vcxproj]
  c:\users\chiel.tenbrinke\projects\graphviz\lib\cgraph\scan.c(1255): warning C28278: Function yy_flex_realloc appears with no prototype in scope.  Only limited analysis can be performed. Include the appropriate header or add a prototype. This warning also occurs if parameter or return types are omitted in a function definition. [C:\Users\Chiel.tenBrinke\Projects\graphviz\lib\cgraph\cgraph.vcxproj]
  c:\users\chiel.tenbrinke\projects\graphviz\lib\cgraph\scan.c(1263): warning C28278: Function yy_fatal_error appears with no prototype in scope.  Only limited analysis can be performed. Include the appropriate header or add a prototype. This warning also occurs if parameter or return types are omitted in a function definition. [C:\Users\Chiel.tenBrinke\Projects\graphviz\lib\cgraph\cgraph.vcxproj]
  c:\users\chiel.tenbrinke\projects\graphviz\lib\cgraph\scan.c(1277): warning C28278: Function yy_fatal_error appears with no prototype in scope.  Only limited analysis can be performed. Include the appropriate header or add a prototype. This warning also occurs if parameter or return types are omitted in a function definition. [C:\Users\Chiel.tenBrinke\Projects\graphviz\lib\cgraph\cgraph.vcxproj]
  c:\users\chiel.tenbrinke\projects\graphviz\lib\cgraph\scan.c(1288): warning C28278: Function yyrestart appears with no prototype in scope.  Only limited analysis can be performed. Include the appropriate header or add a prototype. This warning also occurs if parameter or return types are omitted in a function definition. [C:\Users\Chiel.tenBrinke\Projects\graphviz\lib\cgraph\cgraph.vcxproj]
  c:\users\chiel.tenbrinke\projects\graphviz\lib\cgraph\scan.c(1266): warning C6011: Dereferencing NULL pointer 'b->yy_ch_buf'.  [C:\Users\Chiel.tenBrinke\Projects\graphviz\lib\cgraph\cgraph.vcxproj]
  c:\users\chiel.tenbrinke\projects\graphviz\lib\cgraph\scan.c(1277): warning C6011: Dereferencing NULL pointer 'yy_current_buffer->yy_ch_buf'. See line 1266 for an earlier location where this can occur [C:\Users\Chiel.tenBrinke\Projects\graphviz\lib\cgraph\cgraph.vcxproj]
  c:\users\chiel.tenbrinke\projects\graphviz\lib\cgraph\scan.c(1352): warning C28278: Function yy_try_NUL_trans appears with no prototype in scope.  Only limited analysis can be performed. Include the appropriate header or add a prototype. This warning also occurs if parameter or return types are omitted in a function definition. [C:\Users\Chiel.tenBrinke\Projects\graphviz\lib\cgraph\cgraph.vcxproj]
  c:\users\chiel.tenbrinke\projects\graphviz\lib\cgraph\scan.c(1382): warning C28278: Function yyunput appears with no prototype in scope.  Only limited analysis can be performed. Include the appropriate header or add a prototype. This warning also occurs if parameter or return types are omitted in a function definition. [C:\Users\Chiel.tenBrinke\Projects\graphviz\li
chtenb commented 7 years ago

That file is generated by "libtoolize" which is run from autoreconf which is run from ./autogen.sh

All right, I will try to get that script to run and see what happens.

I've no idea if libtool supports dynamically loaded libraries on Windows? (i.e. libs that are loaded on demand, but not necessarily at the start of the invocation.)

I don't know either, but I would expect it to work, as libtool is available for windows.

A work-around would be to use: ./configure --enable-static

Would that actually affect the vcxproj files for visual studio?

chtenb commented 7 years ago

All right, I will try to get that script to run and see what happens.

Too bad:

$ bash autogen.sh
Graphviz: version date is based on time of last commit: 20161214.1421
Graphviz: abbreviated hash of last commit: 7db422b
Can't locate Autom4te/ChannelDefs.pm in @INC (you may need to install the Autom4te::ChannelDefs module) (@INC contains: C:/PROGRA~2/GnuWin32/autoconf/share/autoconf /usr/lib/perl5/site_perl /usr/share/perl5/site_perl /usr/lib/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib/perl5/core_perl /usr/share/perl5/core_perl .) at /c/Program Files (x86)/GnuWin32/bin/autoreconf line 42.
BEGIN failed--compilation aborted at /c/Program Files (x86)/GnuWin32/bin/autoreconf line 42.
chtenb commented 7 years ago

A work-around would be to use: ./configure --enable-static

Btw, I wouldn't expect this to fix the build error, as the #include directive will still be there. This include directive is only enclosed by an #ifdef _WIN32, which is always true on windows.

ErwinJanssen commented 7 years ago

For building on Windows:

In Powershell, cd to windows\dependencies\libgd in the Graphviz repo and run the following lines:

mkdir deps
cd deps
wget http://windows.php.net/downloads/php-sdk/deps/vc14/x86/archives/freetype-2.6.2-vc14-x86.zip -O freetype.zip
wget http://windows.php.net/downloads/php-sdk/deps/vc14/x86/libiconv-1.14-vc14-x86.zip -O iconv.zip
wget http://windows.php.net/downloads/php-sdk/deps/vc14/x86/libjpeg-9b-vc14-x86.zip -O jpeg.zip
wget http://windows.php.net/downloads/php-sdk/deps/vc14/x86/libpng-1.6.21-vc14-x86.zip -O png.zip
wget http://windows.php.net/downloads/php-sdk/deps/vc14/x86/zlib-1.2.8-vc14-x86.zip -O zlib.zip
7z x freetype.zip
7z x iconv.zip
7z x jpeg.zip
7z x png.zip
7z x zlib.zip

Then, using the cmd command prompt, cd to the same directory and run the following lines (change the path in the first line if you use a different Visual Studio version):

call "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" x86
set WITH_DEVEL=deps
set WITH_BUILD=build
nmake /f windows/Makefile.vc build_libs

If all went right, the dependencies are now set up and you can build Graphviz.

ErwinJanssen commented 7 years ago

You can also uncomment the HAVE_EXPAT defines, as expat is included as a submodule.

chtenb commented 7 years ago

Thanks for the explanation! Much appreciated. The project dot builds successfully now!

Would it be a good idea to put that piece of text in README.md?

chtenb commented 7 years ago

Only the debug configuration builds successfully though :)

In release mode:

1>------ Build started: Project: cgraph, Configuration: Release Win32 ------
1>Build started 2016-12-16 12:13:46.
1>     1>
1>InitializeBuildStatus:
1>         Touching "Release\cgraph.tlog\unsuccessfulbuild".
1>       PreBuildEvent:
1>         "scan.c", line 8: bad character: #
1>         "scan.c", line 8: unknown error processing section 1
1>         "scan.c", line 8: unknown error processing section 1
1>         "scan.c", line 8: unknown error processing section 1
1>         "scan.c", line 9: bad character: #
1>         "scan.c", line 9: unknown error processing section 1
1>         "scan.c", line 9: unknown error processing section 1

and so on...

ErwinJanssen commented 7 years ago

Maybe if you perform a git clean -xfd . before building to clean the temporary files?

chtenb commented 7 years ago

That helps!

chtenb commented 7 years ago

Any idea why the fonts are not working when rendering with the newly compiled dot dll? It used to work with the installed version of dot.exe.

            gvRenderFilename(gvc, ptr, "png", filename);

dump1

It doesn't help when I explicitly set fontname "Arial" or anything. I would expect dot to be able to find the fonts in C:\Windows\Fonts.

ErwinJanssen commented 7 years ago

I can reproduce this error and found the cause. I'll get back to you soon when I have a fix.

ErwinJanssen commented 7 years ago

I submitted a fix with a pull request. You can out the change now or wait for it to merge.

chtenb commented 7 years ago

I think this issue can be closed.