Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed format string literal error #453

Closed
wants to merge 1 commit into from
Closed

Conversation

rick-heig
Copy link

Fixed compilation error when running source sdk_setup.sh

fpga_local_cmd.c:660:4: error: format not a string literal and no format arguments [-Werror=format-security]
    printf(long_help);
    ^
cc1: all warnings being treated as errors

Issue #, if available:

Description of changes:

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Fixed compilation error when running `source sdk_setup.sh`
```
fpga_local_cmd.c:660:4: error: format not a string literal and no format arguments [-Werror=format-security]
    printf(long_help);
    ^
cc1: all warnings being treated as errors
```
@rick-heig
Copy link
Author

Sorry, this was already reported in #450

@rick-heig rick-heig closed this Feb 26, 2019
kyyalama2 pushed a commit that referenced this pull request May 24, 2022
* add support for dram data retention (#414)

* Added new github examples for ddr data retention (#426)

* Added new github examples for ddr data retention

* fixing link to runtime software test

* removing temporary & executable file from github

* new error codes for data retention (#445)

* Enable data retention. (#447)

* upgrading data retention branch to devkit  1.4.2

* porting backdoor DDR load & AXI_MEMORY_MODEL simulation features to data retention customer TB for future simulation support.

* updating default AFI to a data retention enabled 4-ddr calibration AFI

* updating dataretention branch to develop

* [2017.4 Data Retention] Backward compatibility (#454)

* Load without data retention if load failed

If failed for reasons FPGA_ERR_DRAM_DATA_RETENTION_NOT_POSSIBLE, FPGA_ERR_DRAM_DATA_RETENTION_FAILED, or FPGA_ERR_DRAM_DATA_RETENTION_SETUP_FAILED.

* Info message

Print an info message when load failed data retention.

* added data retention documentation (#453)

* added data retention documentation

* updated data retention docs

* Linking to data retention documents from top

* refining description of data retention feature

* adding asl license header for 2018

* fixing link for now. will add back after merging PR461

* Allow for spaces in a longer header comment

* Adding apache headers and updated asl 2018 header

* cl_dram_dma example cleanup (#461)

* added data retention documentation

* updated data retention docs

* created fpga_dma library

* customer example clean up for cl_dram_dma, plus data retention example

* cosim

* updated licence headers

* cosim-fix

* documentation updates for data retention (#462)

* doc updates

* doc updates

* doc updates

* doc updates

* doc updates

* adding sdaccel data retention example

* adding license header to Makefile

* fixing makefile switches

* fixing typo in license header
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant