Mis-alignment of Variables when default alignment value (-xmemalign=1i) is used in 12.4 Beta

Hi Steve,
In Util.h file when compiling Mozilla Thunderbird 24.5 ESR / Firefox 24.5 ESR, the following code results in an warning under Solaris Studio C++ 12.4 Beta:
#if defined(__GNUC__)
#  define MOZ_ALIGNED_DECL(_type, _align) \
     _type __attribute__((aligned(_align)))
#elif defined(_MSC_VER)
#  define MOZ_ALIGNED_DECL(_type, _align) \
     __declspec(align(_align)) _type
#else
#  warning "We don't know how to align variables on this compiler."
#  define MOZ_ALIGNED_DECL(_type, _align) _type
#endif
There is an #pragma align directive available, but I can't use it due to the variable must be defined as MOZ_ALIGNED_DECL, and there is no _Pragma definition available.
For Intel architecture (both 32 & 64-bit), what options do I need to pass / headers to include to C++ Compiler to align the variables properly? I am using Solaris 11.2 Beta. This also applies to C Compiler as well. Thanks.
Regards,
Brian

gcc version that relies on attribute aligned should work.
regards,
  Fedor.

Similar Messages

  • Problem when defaulting a value to the field

    Hi CRM Experts,
    I am new to CRM, i am facing a problem when defaulting a value to the field in the Tcode 'SOLMAN_WORKCENTER' (Solution Manager Server).
    when i am defaulting it is displaying fine in the view( Redefined the getter method there i passed the value), i set a break point in the getter method when i am executing the getter method i am unable to get the defaulted value in the importing parameter value, but i am getting the value here when i used to type manually in the filed, i cant understand why it is behaving like that? please can any body help in this regard...
    Thanks in advance
    Hari..

    There are other ways to get the string-value of an enum (format into string with a %s formatter for instance).
    But I have no idea what you are seeing.
    However I would not use the enum to string technique chose you have, just add the enum to the 'file' VI as an input.
    And the =0 comparison you have is useless, add the enum to the case structure as the selector.
    Ton
    Free Code Capture Tool! Version 2.1.3 with comments, web-upload, back-save and snippets!
    Nederlandse LabVIEW user groep www.lvug.nl
    My LabVIEW Ideas
    LabVIEW, programming like it should be!

  • Defaulting Segment Values at Invoice Distribution using personalization

    Hi,
    My requirement is to default segment3 and segment4 values at invoice distribution gl account for manual invoices. Defualt values will be captured at DFF in user creation form.
    Can any one suggest how to proceed or whether this is possible through form personalization, if so please post in breif how to acheive this.
    Thanks,
    Kumar.

    Hi Khan
    You are further than me! I can't work oput how to create a personalisation on the Distribution screen as the invoice screen defaults into the personalise name at the top and is greyed out so I'm not sure how you got far. Can you help?
    thnaks for anything you are able to provide to point me in the right direction.
    Beth

  • Default multiple values for formula variable on variable selection screen

    Hi All,
    Suppose 'A' is formula variable with customer exit as processing type then i want four default values for this variable eg: 3, 6,9, and 12 as selection options, when we will execute query user can able to pick any one of the default value.
    is it possible in BEx for formula variables?
    I also tried with ABAP code in 'cmod' t-code, but it is not working properly for 4 default values....but for single default value, code is working fine.
    I am using following code ::
    When 'ZCSIMCTB'. // variable name
    IF i_step = '1'.
    CLEAR : l_s_range.
    l_s_range-low = 3.
    l_s_range-sign = 'I'.
    l_s_range-opt = 'EQ'.
    APPEND l_s_range TO e_t_range.
    CLEAR : l_s_range.
    l_s_range-low = 6.
    l_s_range-sign = 'I'.
    l_s_range-opt = 'EQ'.
    APPEND l_s_range TO e_t_range.
    CLEAR : l_s_range.
    l_s_range-low = 9.
    l_s_range-sign = 'I'.
    l_s_range-opt = 'EQ'.
    APPEND l_s_range TO e_t_range.
    CLEAR : l_s_range.
    l_s_range-low = 12.
    l_s_range-sign = 'I'.
    l_s_range-opt = 'EQ'.
    APPEND l_s_range TO e_t_range.
    ENDIF.
    Thanks in advance

    Hi Sankar,
    Thanks for reply...
    With single quotes also its not working.......
    Also as I am using Formula Variable so by default "Single Value" is coming on Variable Details....
    Regards,
    NIlesh

  • Photos not aligning to grid when importing from digital camera,or file

    I hope I am in the right place. Just starting today, when I import photos from my digital camera, or files sent in an email, they are not appearing in order, in the grid alignment. There are spaces in between the photos, they are disorderly, and I have to manually put them in alignment. I have selected "align photos to grid" in preferences, and I am at a loss as to why this is happening just now.
    Any help or advice will be greatly appreciated. Thank you!
    CGM

    A good general step for strange issues is to renew the iPhoto preference file - quit iPhoto and go to "your user name" ==> library ==> preferences ==> com.apple.iPhoto.plist and trash it - launch iPhoto which creates a fresh new default preference file and reset any personal preferences you have changed and if you have moved the iPhoto library repoint to it. This may help
    This does not affect your photos or any database information (keywords, faces, places, ratings, etc) in any way - they are stored in the iPhoto library - the iPhoto preference file simply controls how iPhoto works - which is why renewing it is a good first step.
    LN

  • I want to set a variable with default value and can be changed by the user

    hi,
    i want to set a variable with default value and can be changed by the user, so i new a variable with setting : customer exit, single value, optional, ready for input.
    in my customer exit code, i set a default value, eg. 20070530
    when the variable screen popup, it display the default value 20070530, i changed it to 20070529, but it doesn't work , it still display the data in 20070530, how can i solve this problem? 
    your help is appreciated.

    Liu,
       As mentioned by Anil, you need to restrict your customerr Exit code to I_STEP = 1.
    or.
       <u>Open your Variable in change mode, in the Last Page os the Variable Maintenance you can provide default value. Note: you are doing same thing in Customer Exit. In your case no need of Customer Exit.</u>
    Nagesh Ganisetti.
    Assign points if it helps.

  • DEBUG - how can I put a "break-point" when a variable have a certain value

    Hi
    I need help...
    Do you know some kind os instruction or tools to see and stop in debug a program when a variable have a specified value ?
    For example:
    At debug I want that a program "stop" when likp-vbeln = 70000123000.
    Now for do this, I change the code and insert a IF( ), and i put a breakpoint. But i need a way without need change code.
    Thanks

    Hi Ricardo,
    Use Watch point for this puppose.
    Watchpoints allow you the option of monitoring the content of individual variables.
    The Debugger stops as soon as the value of the monitored variable arrives.
    In addition, conditions can be specified. The Debugger also checks whether such a condition is fulfilled.
    Creating a Watchpoint
    In the toolbar of the New Debugger, you will find the pushbutton Create Watchpoint . It brings you to the dialog box Create Watchpoint.
    Using this function, you can enter the variable to be monitored.
    All possible ABAP data structures are allowed here.
    Hope this will help.
    Regards,
    Nitin.

  • Set the default field value to transaction code field, when calling from WD

    Hi all,
    Can we pass the value in a input field of a standard transaction calling from WD application. Suppose we are calling a transaction VA03 in an external window, then how will be pass the value in the VBAK_VBELN screen field.
    Is there any way to pass the value to this transaction field. I have also tried out to set the parameter ID 'AUN' for VA03 transaction VBELN field. But it did not work for me.
    Is there any way to set the default field value to transaction code field, when calling from WD?
    Please suggest, if anyone have any idea.
    Thanks
    Sanket

    Hi,
    I am using the below code to open a standard transaction. It will help you to explain my point more easily.
    DATA: url TYPE string,
              host TYPE string,
              port TYPE string.
    *Call below method to get host and port
      cl_http_server=>if_http_server~get_location(
         IMPORTING host = host
                port = port ).
    *create URL
      CONCATENATE 'http'
      '://' host ':' port
      '/sap/bc/gui/sap/its/webgui/?sap-client=&~transaction=' 'VA03'
       INTO url.
    *get the window manager as we are opening t code in external window.
      DATA lo_window_manager TYPE REF TO if_wd_window_manager.
      DATA lo_api_component TYPE REF TO if_wd_component.
      DATA lo_window TYPE REF TO if_wd_window.
      lo_api_component = wd_comp_controller->wd_get_api( ).
      lo_window_manager = lo_api_component->get_window_manager( ).
    call the url which we created above
      lo_window_manager->create_external_window(
      EXPORTING
      url = url
      RECEIVING
      window = lo_window ).
      lo_window->open( ).
    Note*
    One more query I want to add to this thread, that is there any possibility to call a custom transaction as well?

  • Round badi does not work in default formulas triggered when sending a value

    I have implemented the round BADI from sdn (how to). Problem is that it works perfect when :
    -  I execute it in UKT
    - I run it as a data manager package
    - I put it in default formulas and run the default formulas as a packe
    It however doesn't work when it is executed in default formulas when sending a value from an input scheduls.It gives an error "error converting records -  the root element is missing"
    Anybody a clue ?
    Cheers
    Nico

    Answering to myself!
    Code correction required:
    loop at it_cv into ls_cv.
    *{   INSERT         BPCK900005                                        2
    CHECK ls_cv-dimension NE 'MEASURES'.
    *}   INSERT

  • 8500 alignment gets off when printing labels

    When I try to print out a page of labels, the print starts out fine then starts creeping up and by the time it gets to the last row of labels in is off by a half an inch. I selected Avery labels, templet 8160. It shows as 1 inch high labels which is correct.
    I am using Windows 7 Pro 64 bit with the Officejet Pro 8500 A9, printing from Office 2007 Word.
    NOTE:    When I print the same file using Office 2007 on my old computer using my old Officejet R40 it prints out just fine!
    Should I be taking this printer back for a refund?

    Hi,
    Open HP Solution Center:
    Windows XP: Click Start , click All Programs , click HP , and then click HP Solution Center .
    Windows Vista: Click the Windows icon ( ), click All Programs , click HP, and then click HP Solution Center .
    HP Solution Center opens in a new window.
    Click Settings ( ), and then click Printer Toolbox . The printer Toolbox opens.
    Click the Services tab, and then click Align the Printheads .
    Follow the on-screen instructions to align the printheads. An alignment page prints when the process completes.
    The preceding is from the support documents for your HP printer.
    regards,
    erico
    ****Please click on Accept As Solution if a suggestion solves your problem. It helps others facing the same problem to find a solution easily****
    2015 Microsoft MVP - Windows Experience Consumer

  • Issue : OBIEE applying default prompt values when pressing return button

    Hi All,
    On my dashboard, I am showing a summary report. This summary report has a link to detail report. I have provided a link for detail report just below the summary report on dashboard. Following is the issue which I am facing
    [1] I run the dashboard for a particular prompt value on the dashboard. Let's say a date value = '1/1/2010'.
    (There is no default value for the prompt).
    [2] Now my summary report is updated according to the prompt value which I selected.
    [3] I click on any value on summary reports and it drill down and recalculated the metrics
    [4] Now when I click on the detail report, i get the detail report too ( in a new window). The issue starts from here.
    [5] When I click on return link from the detail report page, it takes me back to the summary report page ( I land on the report which I got from step 3)
    [6] I click on the return button under the summary report (rememeber I had drilled down) to see the report which i get in step 2
    But, when I click on the return button under the summary report, it changes the prompt value too and applies the default value to the prompt and provides me the initial summary report with default promt value. The report which I got in step 2
    Whereas what i want is when I click on the return link then I should get the report which I got in step 3.
    Why does OBIEE applies the default value when I try to return back to my original summary report. Is this an OBIEE feature or I have some setting issue ?
    Hope I have been able to explain the scenario!
    Can anyone please reply on this. Any help would be much appreciated.
    Thanks,
    Ronny

    hey kart,
    the issue is not about going back to the summary report ...the issue is when i click on the return link below the summary report after returning from the detail report ( which opens in a new window) then it takes me to the initial summary report ( which was loaded by default when the dashboard was loaded) with all the default prompt filters whereas my requirement is to go back to the summary report with the filters which users selected from the prompt ....
    Please let me know.
    Thanks,
    Ronny

  • How to check the default checked  value for radio button on jsp for struts

    Hello , I just want to check the default checked value in JSP for a radio button, how can i do that?
    <html:radio property="sale" value="permanent" style="vertical-align: middle;">Permanent</html:radio>
    <html:radio property="sale" value="temporary" style="vertical-align: middle;">Temporary</html:radio>

    you can set the default value for property ( which you want to default selected when the form is first loaded) in reset method of the form.
    <html:radio property="sale" value="permanent" style="vertical-align: middle;">Permanent</html:radio>
    <html:radio property="sale" value="temporary" style="vertical-align: middle;">Temporary</html:radio>
    In the above case you can write the code as follows in the perticular form of this jsp.
    public void reset(ActionMapping mapping, HttpServletRequest request) {
    super.reset(mapping, request);
         sale = "permanent";
    This will show the first check box default selected when the first time the page is loaded.

  • How to clear alert when a null value is returned for a metric column?

    Hey all,
    Recently, I've encountered a problem about clearing alert when a null value is returned for a metric column. From Oracle official doc, it seems that NO_CLEAR_ON_NULL could be used for this propose. However, it doesn't.
    Here is the line from doc, you can see when NO_CLEAR_ON_NULL is set as FALSE, the null value will clear alert, and the default value for NO_CLEAR_ON_NULL is FALSE.
    NO_CLEAR_ON_NULL: This attribute is used to control severity clearing when a null value is returned for a metric column. It defaults to FALSE with the behavior that a null value ends up clearing previous alert severities. With a TRUE value for this attribute, null values will be skipped in severity evaluations without clearing the severity.
    TRUE | FALSE (default)
    STATELESS_ALERTS: This attribute if set to TRUE indicates to EM that alerts on this
    column will not have corresponding clears. This allows the UI to decide whether to
    allow users to manually clear alerts on this column.
    TRUE | FALSE (default)Here is my code for the metric,
    -- meta definition
      <Metric NAME="Flushing_Table_Overtime" TYPE="TABLE" HELP="NO_HELP">
        <Display>
          <Label NLSID="mmd_ip">Flushing Table Overtime</Label>
        </Display>
        <TableDescriptor>
          <ColumnDescriptor NAME="State" TYPE="STRING" IS_KEY="FALSE">
            <Display>
              <Label NLSID="mmd_rc_State">State</Label>
            </Display>
          </ColumnDescriptor>
          <ColumnDescriptor NAME="Time_Seconds" TYPE="NUMBER" IS_KEY="FALSE">
            <Display>
              <Label NLSID="mmd_fto_Time_Seconds">Flush Table consume Seconds</Label>
            </Display>
          </ColumnDescriptor>
        </TableDescriptor>
        <ExecutionDescriptor>
          <GetTable NAME="MysqlProcessAggregate"/>
          <GetView NAME="v_flushing_tables" FROM_TABLE="MysqlProcessAggregate">
            <Column NAME="State" />
            <Column NAME="Time_Seconds" />
            <Filter COLUMN_NAME="State" OPERATOR="EQ">Flushing tables</Filter>
          </GetView>
        </ExecutionDescriptor>
      </Metric> 
    -- coll definition
      <CollectionItem NAME="Flushing_Table_Overtime">
        <Schedule>
          <IntervalSchedule INTERVAL="10" TIME_UNIT="Min" />
        </Schedule>
        <MetricColl NAME="Flushing_Table_Overtime">
          <Condition COLUMN_NAME="Time_Seconds"
                     CRITICAL="30" OPERATOR="GT"
                     MESSAGE="There is a Flushing Table command has exceeded %critical_threshold% seconds."
                     MESSAGE_NLSID="msg_Flushing_Table_Overtime" />
        </MetricColl>
      </CollectionItem>If this feature can not be achieved by coding XML, then is there a way to clear alert with Oracle Package? I have confirm neither sysman.em_severity.delete_current_severity nor sysman.em_severity.clear_alerts could do it.
    Would anyone give me a hint?
    Thanks in advance!
    Best wishes,
    Satine

    > I am executing in this manner
    var RESULT BOOLEAN;
    BUT I am unable to create variable with boolean data type.
    WARNING. Do not confuse SQL*Plus with PL/SQL.
    There is no variable command in PL/SQL. PL/SQL does support the boolean data type.
    There is a variable command in SQL*Plus. It allows one to define bind variables. It is limited in the data types it supports. It does not support boolean as a bind variable type.
    SQL*Plus is a CLI (Command Line Interface) client tool. It has a very limited vocabularly, allowing you to (primarily):
    a) configure its local environment (e.g. size of the terminal ito number of characters per lines)
    b) configure its bevahiour (e.g. spooling data to a file)
    c) defining substitution and bind variables
    And that's it. It is not PL/SQL. It is not SQL. It takes the PL/SQL and SQL you enter, and submit that to the Oracle server. (it does some basic parsing of the data to substitute variables and bind variables where applicable)
    Do not confuse this CLI client tool with the server side PL/SQL or SQL languages.

  • Filter view with session variable does not display value properly.

    Hi All,
    I have a very unique issue and I am not sure if anyone ran into this before.
    I have a prompt in my dashboard and a link to a report. The session variable default the value to the current value (term)
    when I click the link to the report I get the following value, on the filter view of the report: Term Code Desc is equal to NQ_SESSION.CSA_Analysis_Term
    however if I click the go button in the prompt I get the value: Term Code Desc is equal to 2030 (2011 Spring)
    does anyone have a solution to this issue
    thanks

    Hello,
    Have the same issue. Any solution. Gurus plz help.
    thanks,
    deep

  • No pop up displayed for user defined variables when executed from a program

    Dear All,
    We have created user entry variables for the characteristic(s) with replacement type as 'User Defined Values' in the planning area.
    When I am running the planning function from BPS0, I am getting the pop up for the variables perfectly.
    But, when I execute this planning function from a program by calling the function module 'API_SEMBPS_FUNCTION_EXECUTE' I am not getting the pop up for the user entry variables.
    Is there any way where in I can get the pop up for the variables when I run the program?
    Regards,
    Srini.

    Srinivas
    You might want to check if the variable has a default value. Try "removing" the defautl value and check if it works.
    Srikant

Maybe you are looking for