returning DATASET in a service function generates incorrect code

Description

The following ECL service...

....generates something along the lines of the following C++...

...when called via the following ECL...

...yielding in the following compiler error:

---------- compiler output --------------
a.out.cpp: In member function ‘virtual int MyEclProcess::perform(IGlobalCodeContext*, unsigned int)’:
a.out.cpp:102:115: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
a.out_1.cpp: In member function ‘virtual void cAc5::onStart(const byte*, MemoryBuffer*)’:
a.out_1.cpp:63:70: error: no matching function for call to ‘rtlDataset2RowsetX(unsigned int&, byte*&, Owned<IOutputRowDeserializer>&, unsigned int&, byte)’
a.out_1.cpp:63:70: note: candidates are:
/home/jamienoss/GitRepos/HPCC-Platform/rtl/eclrtl/rtlds_imp.hpp:485:24: note: void rtlDataset2RowsetX(size32_t&, byte*&, IEngineRowAllocator, IOutputRowDeserializer*, size32_t, const void*, bool)
/home/jamienoss/GitRepos/HPCC-Platform/rtl/eclrtl/rtlds_imp.hpp:485:24: note: candidate expects 7 arguments, 5 provided
/home/jamienoss/GitRepos/HPCC-Platform/rtl/eclrtl/rtlds_imp.hpp:488:24: note: void rtlDataset2RowsetX(size32_t&, byte*&, IEngineRowAllocator, IOutputRowDeserializer*, size32_t, const void*)
/home/jamienoss/GitRepos/HPCC-Platform/rtl/eclrtl/rtlds_imp.hpp:488:24: note: candidate expects 6 arguments, 5 provided
g++: error: a.out_1.o: No such file or directory

--------- end compiler output -----------
1 error, 0 warning

Conclusion

None

blocks

Activity

Show:

Lorraine Chapman September 16, 2014 at 12:06 PM

- Please comment

Lorraine Chapman September 15, 2014 at 11:09 AM

- Go into the Link feature and the drop down has blocks item.

Richard Chapman September 15, 2014 at 10:30 AM

Generally, we use it for bugs that block the use of the system completely, or that impact the deliverability of a high-profile feature.

Jamie Noss September 15, 2014 at 10:21 AM

What is the 'priority:blocker' specifically for?

Jamie Noss September 15, 2014 at 10:20 AM

Cheers

Fixed
Pinned fields
Click on the next to a field label to start pinning.

Details

Components

Assignee

Reporter

Priority

Fix versions

Pull Request URL

Affects versions

Created August 18, 2014 at 4:15 PM
Updated November 14, 2014 at 11:00 AM
Resolved November 14, 2014 at 11:00 AM