NetTalk Central

Author Topic: Duplicate Label Warnings  (Read 1347 times)

Rakesh

  • Newbie
  • *
  • Posts: 3
    • View Profile
Duplicate Label Warnings
« on: April 13, 2022, 12:27:10 PM »
Hello -

I'm using Nettalk 12.35 in a multi DLL project. In when compiling a on of the DLL, I'm getting hundred's of duplicate warning for these EQUATES

SO_DEBUG                EQUATE(01h)             ! turn on debugging info recording
SO_ACCEPTCONN           EQUATE(02h)             ! socket has had listen()
SO_REUSEADDR            EQUATE(04h)             ! allow local address reuse
SO_KEEPALIVE            EQUATE(08h)             ! keep connections alive
SO_DONTROUTE            EQUATE(010h)            ! just use interface addresses
SO_BROADCAST            EQUATE(020h)            ! permit sending of broadcast msgs
SO_USELOOPBACK          EQUATE(040h)            ! bypass hardware when possible
SO_LINGER               EQUATE(080h)            ! linger on close if data present
SO_OOBINLINE            EQUATE(0100h)           ! leave received OOB data in line

These are part of NetAll.inc and WINSOCK.INC (sv). Any suggestion how to avoid these?

(Error detail image attached)

Thanks,
-Rakesh




Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11158
    • View Profile
Re: Duplicate Label Warnings
« Reply #1 on: April 15, 2022, 01:00:38 AM »
I'll look into it - but it begs the question - if you are using NetTalk, then why are you including winSock.Inc?
Are you using something that drags that in?

Rakesh

  • Newbie
  • *
  • Posts: 3
    • View Profile
Re: Duplicate Label Warnings
« Reply #2 on: April 15, 2022, 08:38:18 AM »
Hi Bruce,

Here's some additional information - I'm in the process of swapping out SV Comm templates that I was using for Emails with NetTalk. In one of the APPs, I have both extensions present, thus this winsock.inc got included by SV Extension. I hope once I completely remove SV comm extensions, this dup error should go away. Since this is a just a "warning" message per say, its not a critical blocker.

-Rakesh

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11158
    • View Profile
Re: Duplicate Label Warnings
« Reply #3 on: April 15, 2022, 09:43:36 PM »
I've tweaked the code for 12.40 so it'll go away there. In the meantime just ignore it.

Cheers
Bruce