Description

It seems that in CoreNet.h, there are two constructors declared. However, only the first constructor is defined in CoreNet.cpp.

If you look in CoreNet.h, you'll notice that

FNetBitReader( int64 InMaxBits );

has a warning:

Function definition for FNetBitReader not found

Steps to Reproduce
  1. Open UE4.sln
  2. Navigate to CoreNet.h & CoreNet.cpp
  3. Notice the following constructor declarations in CoreNet.h
     FNetBitReader( UPackageMap* InPackageMap=NULL, uint8* Src=NULL, int64 CountBits=0 );
      FNetBitReader( int64 InMaxBits );
  4. Navigate to CoreNet.cpp and CTRL+F search for FNetBitReader

Result: Notice that the constructor declared second in the .h file is not defined in the .cpp

Expected: The function would be defined in the .cpp

Have Comments or More Details?

Head over to the existing Questions & Answers thread and let us know what's up.

0
Login to Vote

Fixed
ComponentUE - Networking
Affects Versions4.134.144.15
Target Fix4.16
Fix Commit3343383
Main Commit3495525
CreatedMar 13, 2017
ResolvedMar 13, 2017
UpdatedSep 12, 2017