Discover Refinitiv
MyRefinitiv Refinitiv Perspectives Careers
Created with Sketch.
All APIs Questions & Answers  Register |  Login
Ask a question
  • Questions
  • Tags
  • Badges
  • Unanswered
Search:
  • Home /
  • Elektron /
  • ETA /
avatar image
Question by andy.sciascia · Sep 22, 2020 at 01:38 PM · elektronrefinitiv-realtimeelektron-sdkrrteta-apielektron-transport-api

ETA compilation warning

I get this compilation warning from an included ETA header file. Can it be fixed ?


In file included from ../../../libs/upa/include/rtr/rsslRDMMsg.h:12,

from ../../../libs/upa/include/rtr/rsslReactor.h:12,

from ../sslsrc.h:76,

from ../mocks/sslsrc_mocks.h:19,

from ../upa/test_upa.c:14:

../../../libs/upa/include/rtr/rsslRDMLoginMsg.h: In function ‘rsslInitDefaultRDMLoginRequest’:

../../../libs/upa/include/rtr/rsslRDMLoginMsg.h:227:77: warning: ‘/net’ directive output may be truncated writing 4 bytes into a region of size between 1 and 256 [-Wformat-truncation=]

snprintf(pRequest->defaultPosition, sizeof(pRequest->defaultPosition), "%s/net", tmpHostNameBlock);

^~~~

../../../libs/upa/include/rtr/rsslRDMLoginMsg.h:227:3: note: ‘snprintf’ output between 5 and 260 bytes into a destination of size 256

snprintf(pRequest->defaultPosition, sizeof(pRequest->defaultPosition), "%s/net", tmpHostNameBlock);

^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


People who like this

0 Show 0
Comment
10 |1500 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

2 Replies

  • Sort: 
avatar image
REFINITIV
Best Answer
Answer by wasin.w · Sep 02, 2021 at 03:47 AM

Hello @andy.sciascia

The issue has been fixed in RTSDK version 2.0.1 G1 on April 2021. The fixed is included in the current RTSDK versions too.

Comment

People who like this

0 Show 0 · Share
10 |1500 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

avatar image
REFINITIV
Answer by zoya faberov · Sep 22, 2020 at 02:04 PM

Hello @andy.sciascia,

My understanding is that you are reporting a suspected issue with the latest version of Refinitiv Realtime SDK, formerly Elektron SDK.

If this is correct, please report the issue directly to Refinitiv Realtime SDK development team, via Refinitiv Realtime SDK on GitHub -> Issues, including all relevant info to reproduce the warning.

If this is with an older version, please test with the latest version that includes all the issue fixes applied up to the present date, the SDK can be downloaded via Refinitiv Real-Time SDK - C/C++ -> Downloads tab.

Thanks,

-AHS

Comment

People who like this

0 Show 0 · Share
10 |1500 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Watch this question

Add to watch list
Add to your watch list to receive emailed updates for this question. Too many emails? Change your settings >
8 People are following this question.

Related Questions

got an error

How to identify and convert millisecond _MS time fields ?

Encoding fragmented genericMsg

Chain request via Java ETA API

Elektron Transport API Java Application Got Disconnected Randomly

  • Copyright
  • Cookie Policy
  • Privacy Statement
  • Terms of Use
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Alpha
  • App Studio
  • Block Chain
  • Bot Platform
  • Connected Risk APIs
  • DSS
  • Data Fusion
  • Data Model Discovery
  • Datastream
  • Eikon COM
  • Eikon Data APIs
  • Electronic Trading
    • Generic FIX
    • Local Bank Node API
    • Trading API
  • Elektron
    • EMA
    • ETA
    • WebSocket API
  • FX Venues
    • FX Trading – RFQ Maker
  • Intelligent Tagging
  • Legal One
  • Messenger Bot
  • Messenger Side by Side
  • ONESOURCE
    • Indirect Tax
  • Open Calais
  • Open PermID
    • Entity Search
  • Org ID
  • PAM
    • PAM - Logging
  • ProView
  • ProView Internal
  • Product Insight
  • Project Tracking
  • RDMS
  • Refinitiv Data Platform
    • Refinitiv Data Platform Libraries
  • Rose's Space
  • Screening
    • Qual-ID API
    • Screening Deployed
    • Screening Online
    • World-Check One
    • World-Check One Zero Footprint
  • Side by Side Integration API
  • TR Knowledge Graph
  • TREP APIs
    • CAT
    • DACS Station
    • Open DACS
    • RFA
    • UPA
  • TREP Infrastructure
  • TRKD
  • TRTH
  • Thomson One Smart
  • Transactions
    • REDI API
  • Velocity Analytics
  • Wealth Management Web Services
  • Workspace SDK
    • Element Framework
    • Grid
  • World-Check Data File
  • Yield Book Analytics
  • 中文论坛
  • Explore
  • Tags
  • Questions
  • Badges