rand_r /addr?

I am working on a temperature scanner using the MLX90614 sensor. The following is the code from my .h file.

#if (ARDUINO >= 100)
#include "Arduino.h"
#else
#include "WProgram.h"
#endif
#include "Wire.h"

#define MLX90614_I2CADDR 0x5A

// RAM
#define MLX90614_RAWIR1 0x04
#define MLX90614_RAWIR2 0x05
#define MLX90614_TA 0x06
#define MLX90614_TOBJ1 0x07
#define MLX90614_TOBJ2 0x08
// EEPROM
#define MLX90614_TOMAX 0x20
#define MLX90614_TOMIN 0x21
#define MLX90614_PWMCTRL 0x22
#define MLX90614_TARANGE 0x23
#define MLX90614_EMISS 0x24
#define MLX90614_CONFIG 0x25
#define MLX90614_ADDR 0x2E
#define MLX90614_ID1 0x3C
#define MLX90614_ID2 0x3D
#define MLX90614_ID3 0x3E
#define MLX90614_ID4 0x3F

/**
  @brief Class to read from and control a MLX90614 Temp Sensor

*/
#ifndef Adafruit_MLX90614
#define Adafruit_MLX90614

class Adafruit_MLX90614 {
 public:
   Adafruit_MLX90614(uint8_t); addr = MLX90614_I2CADDR);
   bool begin();

   double readObjectTempC(void);
   double readAmbientTempC(void);
   double readObjectTempF(void);
   double readAmbientTempF(void);
   uint16_t readEmissivityReg(void);
   void writeEmissivityReg(uint16_t ereg);
   double readEmissivity(void);
   void writeEmissivity(double emissivity);

 private:
   float readTemp(uint8_t reg);

   uint16_t read16(uint8_t addr);
   void write16(uint8_t addr, uint16_t data);
   byte crc8(byte *addr, byte len);
   uint8_t _addr;

#endif
};
Arduino: 1.8.13 (Windows 10), Board: "Arduino Uno"

In file included from C:\Users\ekraatz2\Downloads\Adafruit-MLX90614-Library-master\examples\mlxtest\mlxtest.ino:20:0:

sketch\Adafruit_MLX90614.h:56:30: warning: ISO C++ forbids declaration of 'uint8_t' with no type [-fpermissive]

     Adafruit_MLX90614(uint8_t); addr = MLX90614_I2CADDR);

                              ^

Adafruit_MLX90614.h:56:33: error: 'addr' does not name a type; did you mean 'rand_r'?

     Adafruit_MLX90614(uint8_t); addr = MLX90614_I2CADDR);

                                 ^~~~

                                 rand_r


exit status 1

'addr' does not name a type; did you mean 'rand_r'?



This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.

After this I changed "addr" to "rand_r" and this error was shown

Arduino: 1.8.13 (Windows 10), Board: "Arduino Uno"





















In file included from C:\Users\ekraatz2\Downloads\Adafruit-MLX90614-Library-master\examples\mlxtest\mlxtest.ino:20:0:

sketch\Adafruit_MLX90614.h:56:30: warning: ISO C++ forbids declaration of 'uint8_t' with no type [-fpermissive]

     Adafruit_MLX90614(uint8_t); rand_r = MLX90614_I2CADDR);

                              ^

Adafruit_MLX90614.h:56:33: error: 'rand_r' does not name a type

     Adafruit_MLX90614(uint8_t); rand_r = MLX90614_I2CADDR);

                                 ^~~~~~


exit status 1

'rand_r' does not name a type



This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.

Did you mean Adafruit_MLX90614(uint8_t addr = MLX90614_I2CADDR);

It's fixed in the current version of the library (Version 1.1.1):

class Adafruit_MLX90614 {
public:
  Adafruit_MLX90614(uint8_t addr = MLX90614_I2CADDR);
  bool begin();

Thank you!