AMOS-ss16-proj3 / amos-ss16-proj3

Repository for the wireshark plugin development project of the AMOS 16 course
GNU Affero General Public License v3.0
10 stars 12 forks source link

Windows compilation warnings #35

Open darki2002 opened 8 years ago

darki2002 commented 8 years ago

The following errors/warnings occure when compiling wireshark with our plugin under windows: (done with Windows 7 x64 and with the commit 395c57582e34f0fefc1b4f9f23e683510a40c7af on the 09.07.2016)

Der Buildvorgang wurde erfolgreich ausgeführt.

  "C:\Development\msbuild_min64\Wireshark.sln" (Standardziel) (1) ->
  "C:\Development\msbuild_min64\plugins\doip\doip.vcxproj.metaproj" (Stand
  ardziel) (20) ->
  "C:\Development\msbuild_min64\plugins\doip\doip.vcxproj" (Standardziel)
  (135) ->
  (ClCompile Ziel) ->
    C:\Development\wireshark\plugins\doip\packet-doip.c(232): warning C411
  3: 'void (__cdecl *)(tvbuff_t *,packet_info *,proto_tree *)' differs in
  parameter lists from 'dissector_t' [C:\Development\msbuild_min64\plugins
  \doip\doip.vcxproj]
    C:\Development\wireshark\plugins\doip\packet-doip.c(232): warning C413
  3: 'function' : incompatible types - from 'void (__cdecl *)(tvbuff_t *,p
  acket_info *,proto_tree *)' to 'dissector_t' [C:\Development\msbuild_min
  64\plugins\doip\doip.vcxproj]
    C:\Development\wireshark\plugins\doip\packet-doip.c(263): warning C411
  3: 'void (__cdecl *)(tvbuff_t *,packet_info *,proto_tree *)' differs in
  parameter lists from 'dissector_t' [C:\Development\msbuild_min64\plugins
  \doip\doip.vcxproj]
    C:\Development\wireshark\plugins\doip\packet-doip.c(263): warning C413
  3: 'function' : incompatible types - from 'void (__cdecl *)(tvbuff_t *,p
  acket_info *,proto_tree *)' to 'dissector_t' [C:\Development\msbuild_min
  64\plugins\doip\doip.vcxproj]

4 Warnung(en) 0 Fehler

  • Version 2.0.5:

Der Buildvorgang wurde erfolgreich ausgeführt.

  "C:\Development\msbuild64_ws2.0.x\Wireshark.sln" (Standardziel) (1) ->
  "C:\Development\msbuild64_ws2.0.x\ui\qt\qtui.vcxproj.metaproj" (Standard
  ziel) (32) ->
  "C:\Development\msbuild64_ws2.0.x\ui\qt\qtui.vcxproj" (Standardziel) (71
  ) ->
  (CustomBuild Ziel) ->
    C:\Development\wireshark\ui\qt\capture_interfaces_dialog.ui : warning
  : Z-order assignment: '' is not a valid widget. [C:\Development\msbuild6
  4_ws2.0.x\ui\qt\qtui.vcxproj]

  "C:\Development\msbuild64_ws2.0.x\Wireshark.sln" (Standardziel) (1) ->
  "C:\Development\msbuild64_ws2.0.x\plugins\doip\doip.vcxproj.metaproj" (S
  tandardziel) (16) ->
  "C:\Development\msbuild64_ws2.0.x\plugins\doip\doip.vcxproj" (Standardzi
  el) (111) ->
  (ClCompile Ziel) ->
    C:\Development\wireshark\plugins\doip\doip-header.c(199): warning C402
  8: formal parameter 3 different from declaration [C:\Development\msbuild
  64_ws2.0.x\plugins\doip\doip.vcxproj]
    C:\Development\wireshark\plugins\doip\doip-header.c(217): warning C402
  8: formal parameter 3 different from declaration [C:\Development\msbuild
  64_ws2.0.x\plugins\doip\doip.vcxproj]
    C:\Development\wireshark\plugins\doip\doip-header.c(238): warning C402
  8: formal parameter 3 different from declaration [C:\Development\msbuild
  64_ws2.0.x\plugins\doip\doip.vcxproj]
    C:\Development\wireshark\plugins\doip\doip-header.c(255): warning C402
  8: formal parameter 3 different from declaration [C:\Development\msbuild
  64_ws2.0.x\plugins\doip\doip.vcxproj]

5 Warnung(en) 0 Fehler

  • Version 1.x: Not done by now... maybe not so easy