Bug 693526

Summary: Compilation error when passing a N_ wrapped string to a const array
Product: [Fedora] Fedora Reporter: Christoph Wickert <christoph.wickert>
Component: valaAssignee: Michel Lind <michel>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: michel
Target Milestone: ---Keywords: Regression
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-04-07 15:03:39 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 690954    

Description Christoph Wickert 2011-04-04 21:22:26 UTC
Description of problem:
See upstream bug report

Version-Release number of selected component (if applicable):
vala-0.12.0-1.fc16

How reproducible:
always

Steps to Reproduce:
1. Try building postler 0.1.1 from bug 690954 with vala >= 0.11.6
  
Actual results:
[ 1/44] valac: postler/dexter.vala postler/dockmanager.vala postler/elementary-entry.vala postler/postler-accounts.vala postler/postler-accountsetup.vala postler/postler-app.vala postler/postler-attachments.vala postler/postler-bureau.vala postler/postler-cellrenderertoggle.vala postler/postler-client.vala postler/postler-composer.vala postler/postler-content.vala postler/postler-flowbox.vala postler/postler-folders.vala postler/postler-messages.vala postler/postler-reader.vala postler/postler-recipiententry.vala postler/postler-scrolled.vala postler/postler-service.vala postler/postler-shortcuts.vala postler/postler-state.vala postler/postler-viewer.vala -> _build_/default/postler/dexter.c _build_/default/postler/dockmanager.c _build_/default/postler/elementary-entry.c _build_/default/postler/postler-accounts.c _build_/default/postler/postler-accountsetup.c _build_/default/postler/postler-app.c _build_/default/postler/postler-attachments.c _build_/default/postler/postler-bureau.c _build_/default/postler/postler-cellrenderertoggle.c _build_/default/postler/postler-client.c _build_/default/postler/postler-composer.c _build_/default/postler/postler-content.c _build_/default/postler/postler-flowbox.c _build_/default/postler/postler-folders.c _build_/default/postler/postler-messages.c _build_/default/postler/postler-reader.c _build_/default/postler/postler-recipiententry.c _build_/default/postler/postler-scrolled.c _build_/default/postler/postler-service.c _build_/default/postler/postler-shortcuts.c _build_/default/postler/postler-state.c _build_/default/postler/postler-viewer.c
../postler/postler-accounts.vala:69.44-69.44: error: Value must be constant

Expected results:
should build

Additional info:
This is a tracker to block the postler review. Once this is resolved we can continue in bug 690954.

Comment 1 Michel Lind 2011-04-07 15:03:39 UTC
Fixed in vala-0.12.0-2