Bug 291718

Summary: build issue in Modules/samba/ksmbstatus.cpp - variable length array
Product: [Applications] kinfocenter Reporter: tropikhajma <tropikhajma>
Component: SambaAssignee: David Hubner <hubn3rd>
Status: RESOLVED NOT A BUG    
Severity: normal CC: sitter
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Solaris   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description tropikhajma 2012-01-16 23:16:04 UTC
Version:           unspecified (using Devel) 
OS:                Solaris

build of kde-workspace 4.7.97 fails with the below error.

This is because variable length arrays are not part of the C++ standard and
Studio does not support this gcc-specific extension.

related issues: 276559, 256647

Reproducible: Always

Steps to Reproduce:
try to build kde-workspace 4.7.97

Actual Results:  
"/opt/test2/packages/BUILD/kde-workspace-4.7.97/kinfocenter/Modules/samba/ksmbstatus.cpp", line 124: Error: An integer constant expression is required within the array subscript operator.


Expected Results:  
builds fine

Solaris 11, Solaris Studio 12.3
Comment 1 Yury G. Kudryashov 2012-01-17 16:56:15 UTC
Note that most developers have no Sun Studio. So, if you really want this to be fixed, provide a patch.
Comment 2 Andrew Crouthamel 2018-11-06 15:05:47 UTC
Dear Bug Submitter,

This bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version? I am setting the status to NEEDSINFO pending your response, please change the Status back to REPORTED when you respond.

Thank you for helping us make KDE software even better for everyone!
Comment 3 Andrew Crouthamel 2018-11-17 05:06:18 UTC
Dear Bug Submitter,

This is a reminder that this bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version? This bug will be moved back to REPORTED Status for manual review later, which may take a while. If you are able to, please lend us a hand.

Thank you for helping us make KDE software even better for everyone!
Comment 4 Harald Sitter 2020-01-17 13:56:38 UTC
We don't really support Solaris anymore.